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:
Quytelda Kahja 2018-03-27 01:41:12 -07:00 committed by Greg Kroah-Hartman
parent 9ff7c1aadd
commit 9f534f7ee8
1 changed files with 1 additions and 1 deletions

View File

@ -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;