staging: rtl8723bs: fix warning comparison to NULL
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Sun, 9 Jun 2019 12:48:51 +0000 (18:18 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Jun 2019 15:56:00 +0000 (17:56 +0200)
commit9254695963a2380d7e8d66a135847ac6a83bba65
treed91fbff4f2df5bebce2156104a2d7090d1ebb442
parent117e9dcf74d5dca0a8dad1f22daa38dc542a9f12
staging: rtl8723bs: fix warning comparison to NULL

This patch fixes below issue reported by checkpatch

CHECK: Comparison to NULL could be written "!pxmitbuf->pallocated_buf"
+               if (pxmitbuf->pallocated_buf == NULL)

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/xmit_linux.c