staging: wilc1000: replace explicit NULL comparisons with !
authorLeo Kim <leo.kim@atmel.com>
Thu, 5 Nov 2015 05:36:10 +0000 (14:36 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commit3a147c07ca4c2048eb9861def7253cd21bf21d77
treee7bbcd61757d90f0b94e1e18a065794c94e70a74
parentfb70e9f5bd4b9d00e6a3e3946a9ed46bb4babd8c
staging: wilc1000: replace explicit NULL comparisons with !

This patch replace explicit NULL comparison with ! or unmark
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/linux_wlan.c
This page took 0.024622 seconds and 5 git commands to generate.