From: Markus Elfring Date: Tue, 18 Nov 2014 10:31:23 +0000 (+0100) Subject: GFS2: Deletion of unnecessary checks before two function calls X-Git-Tag: omap-for-v3.20/drop-legacy-3517~145^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30badc9543490f41497c42f004db02f1e8a29341;p=pandora-kernel.git GFS2: Deletion of unnecessary checks before two function calls The functions iput() and put_pid() test whether their argument is NULL and then return immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed