staging: rtl8712: Place constants on the right side
PATCH 2/4 staging: rtl8712: Place constants on the right side
Move constants to the right of binary operators. This issue was identified using the Coccinelle script:misc/compare_const_fl.cocci
Signed-off-by Bhaktipriya Shridhar <[email protected]>
--- drivers/staging/rtl8712/rtl8712_recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8712/rtl8712_recv.c +1 -1
@@ -1109,7 +1109,7 @@ static void recv_tasklet(void *priv)struct _adapter *padapter = (struct _adapter *)priv;struct recv_priv *precvpriv = &padapter->recvpriv; -while (NULL != (pskb =skb_dequeue (&precvpriv->rx_skb_queue))) { +while ((pskb =skb_dequeue (&precvpriv->rx_skb_queue)) !=NULL ) {recvbuf2recvframe (padapter, pskb);skb_reset_tail_pointer (pskb); pskb->len =0 ;
--
2.1.4