]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723bs: core: rtw_recv: fix warning Comparison to NULL
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Thu, 23 May 2019 02:50:59 +0000 (08:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 May 2019 07:24:54 +0000 (09:24 +0200)
commitba10f3bd7f16bedeb48717c2c524b28683b2ec1e
treeb84c495e7936ee24a3be1aefc21d4114f0d884f7
parent55d1705c855f06da654e3d020b9927d15f045cad
staging: rtl8723bs: core: rtw_recv: fix warning Comparison to NULL

fix below warning reported by checkpatch

CHECK: Comparison to NULL could be written
"!precvpriv->pallocated_frame_buf"
CHECK: Comparison to NULL could be written "padapter"

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
-----
changes in v2:
Corected few erorrs like (!*psta == NULL) pointed in
review

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_recv.c