]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: wilc1000: fix NULL comparison style
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 20 Sep 2015 06:51:10 +0000 (15:51 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 02:02:10 +0000 (19:02 -0700)
commit619837aea8fef3e3a08e4158f79b51118e552fec
treedfd736920dfd7187912fb00e84968e2fb93a3c64
parent8459fd54aa3ac145ba16a2b9cbc76ab5b99b4d32
staging: wilc1000: fix NULL comparison style

This patch fixes NULL comparison style found by checkpatch.pl.

CHECK: Comparison to NULL could be written "!net"
CHECK: Comparison to NULL could be written "!net->ieee80211_ptr"
CHECK: Comparison to NULL could be written "!net->ieee80211_ptr->wiphy"

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c