OSDN Git Service

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)
commitce3b32a2d2d4978c1d16adb82e472349f55fc1df
treeb84c495e7936ee24a3be1aefc21d4114f0d884f7
parent99bf7761b7cd9c529486a52df37deecf3bf0ebe5
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