Skip to contentSkip to conversation

atl1c: misplaced parenthesis

PATCH Applied Roel Kluin 2 participants 2 messages Jul 12, 2009 – Jul 17, 2009

Subsystems (2)
lore
Share & tools
lore

Roel Kluin

author
#0 lore raw

PATCH 1/1 atl1c: misplaced parenthesis

Fix misplaced parenthesis

---

drivers/net/atl1c/atl1c_main.c +1 -1
index cd547a2..a383122 100644
@@ -1689,7 +1689,7 @@ static void atl1c_clean_rx_irq(struct atl1c_adapter *adapter, u8 que,
 		if (likely(RRS_RXD_IS_VALID(rrs->word3))) {
 			rfd_num = (rrs->word0 >> RRS_RX_RFD_CNT_SHIFT) &
 				RRS_RX_RFD_CNT_MASK;
-			if (unlikely(rfd_num) != 1)
+			if (unlikely(rfd_num != 1))
 				/* TODO support mul rfd*/
 				if (netif_msg_rx_err(adapter))
 					dev_warn(&pdev->dev,