]> git.openpandora.org Git - pandora-kernel.git/commitdiff
ath9k: Delete an unnecessary check before the function call "relay_close"
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 4 Feb 2015 17:48:28 +0000 (18:48 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 6 Feb 2015 06:49:22 +0000 (08:49 +0200)
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 <elfring@users.sourceforge.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

No differences found