staging: rtl8723bs: core: Use !x in place of NULL comparison.
authorVatsala Narang <vatsalanarang@gmail.com>
Wed, 1 May 2019 10:35:47 +0000 (16:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 May 2019 16:18:02 +0000 (18:18 +0200)
commit3343712444e5045f8c4dae54f9e584b603a93641
tree6884afe026fe0dd00686588fe8defd867f349b54
parente52d8d0d42088009247de4e1af1de39d647cffaf
staging: rtl8723bs: core: Use !x in place of NULL comparison.

Avoid NULL comparison, compare using boolean operator.

Issue found using coccinelle.

Signed-off-by: Vatsala Narang <vatsalanarang@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_io.c
drivers/staging/rtl8723bs/core/rtw_sta_mgt.c