From: Markus Elfring Date: Sun, 30 Nov 2014 21:24:20 +0000 (+1100) Subject: xfs: remove unnecessary null checks X-Git-Tag: omap-for-v3.20/drop-legacy-3517~112^2~1^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2a5e3c6fccb25234a594bacb056e0b3974faf49;p=pandora-kernel.git xfs: remove unnecessary null checks The functions xfs_blkdev_put() and xfs_qm_dqrele() 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 Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- Reading git-diff-tree failed