OSDN Git Service

staging: rtl8192e: Rectify pointer comparisions with NULL
authorSuniel Mahesh <suniel.spartan@gmail.com>
Tue, 21 Mar 2017 09:01:02 +0000 (14:31 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Mar 2017 13:30:03 +0000 (14:30 +0100)
commite465274a3c55a846ed47e19491b575e665f5d0c6
treea6992dead7d28642f4b1649ac59baff42d78854b
parenta959dec1155714260ff347020421ee6fce0d0f61
staging: rtl8192e: Rectify pointer comparisions with NULL

This patch simplifies code by replacing explicit NULL comparison
with ! or unmark operator
Reported by checkpatch.pl for comparison to NULL could be
written '!foo' or 'foo'

Signed-off-by: Suniel Mahesh <suniel.spartan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c