]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: rtl8188eu: core: Use !x in place of NULL comparisons
authorPuranjay Mohan <puranjay12@gmail.com>
Tue, 21 May 2019 14:32:25 +0000 (20:02 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 May 2019 12:32:40 +0000 (14:32 +0200)
commit07a8c97c1d4a511c2db49cc6e7736e625bd19005
treeb2639b8a1d2027570cd0ebf3b335a278f0926303
parentfcb8be74ffb62c8120faca9e11bfe42d121b9640
Staging: rtl8188eu: core: Use !x in place of NULL comparisons

Change (x == NULL) to !x and (x != NULL) to x, to fix
following checkpatch.pl warnings:
CHECK: Comparison to NULL could be written "!x".

Signed-off-by: Puranjay Mohan <puranjay12@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_recv.c