From: Chen Gang Date: Tue, 12 Nov 2013 23:08:42 +0000 (-0800) Subject: kernel/delayacct.c: remove redundant checking in __delayacct_add_tsk() X-Git-Tag: v3.13-rc1~106^2~172 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=324d666a5378946dd271c71036792235ef360204;p=pandora-kernel.git kernel/delayacct.c: remove redundant checking in __delayacct_add_tsk() The wrapper function delayacct_add_tsk() already checked 'tsk->delays', and __delayacct_add_tsk() has no another direct callers, so can remove the redundancy checking code. And the label 'done' is also useless, so remove it, too. Signed-off-by: Chen Gang Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed