staging: rtl8723bs: Replace NULL pointer comparison with '!'.
Replace the comparison of 'precvbuf' to 'NULL' with '!precvbuf'. Signed-off-by: Quytelda Kahja <quytelda@tamalin.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9ff7c1aadd
commit
9f534f7ee8
|
@ -259,7 +259,7 @@ static void rtl8723bs_recv_tasklet(void *priv)
|
|||
|
||||
do {
|
||||
precvbuf = rtw_dequeue_recvbuf(recv_buf_queue);
|
||||
if (NULL == precvbuf)
|
||||
if (!precvbuf)
|
||||
break;
|
||||
|
||||
ptr = precvbuf->pdata;
|
||||
|
|
Loading…
Reference in New Issue