From: Markus Elfring Date: Wed, 4 Feb 2015 17:48:28 +0000 (+0100) Subject: ath9k: Delete an unnecessary check before the function call "relay_close" X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~10^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0420ea0b598021302b1e1f0f28d621f93968e5d;p=pandora-kernel.git ath9k: Delete an unnecessary check before the function call "relay_close" The relay_close() function tests whether its argument is NULL and then returns 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: Kalle Valo --- Reading git-diff-tree failed