staging: rtl8723bs: hal: Remove comparison to NULL in rtl8723b_rxdesc.c

Remove comparison to null in file rtl8723b_rxdesc.c. Suggested by Coccinelle.

Signed-off-by: Himadri Pandya <himadri18.07@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Himadri Pandya 2019-03-17 11:44:51 +05:30 committed by Greg Kroah-Hartman
parent 3732d70167
commit 8b1cf0b720

View File

@ -34,7 +34,7 @@ static void process_link_qual(struct adapter *padapter, union recv_frame *prfram
struct rx_pkt_attrib *pattrib; struct rx_pkt_attrib *pattrib;
struct signal_stat *signal_stat; struct signal_stat *signal_stat;
if (prframe == NULL || padapter == NULL) if (!prframe || !padapter)
return; return;
pattrib = &prframe->u.hdr.attrib; pattrib = &prframe->u.hdr.attrib;