]> git.karo-electronics.de Git - linux-beck.git/commit
staging: wilc1000: replace explicit NULL comparisons with !
authorLeo Kim <leo.kim@atmel.com>
Fri, 6 Nov 2015 02:12:31 +0000 (11:12 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commita4b1719728652406913f13c99d725dd35515b372
tree68a1447a1a267382c8d011c802db3eacec5bb449
parentb7d1e18c278fe01f77a428b88bf750fc9ee6742e
staging: wilc1000: replace explicit NULL comparisons with !

This patch replace explicit NULL comparison with ! operator to simplify code.
Reported by checkpatch.pl for Comparison to NULL could be written "!XXX" or "XXX".

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c