summaryrefslogtreecommitdiff
path: root/drivers/net/atl1c/atl1c_main.c
diff options
context:
space:
mode:
authorroel kluin <roel.kluin@gmail.com>2009-07-12 12:57:38 (GMT)
committerDavid S. Miller <davem@davemloft.net>2009-07-17 01:05:20 (GMT)
commit37b76c697f4ac082e9923dfa8e8aecc8bc54a8e1 (patch)
tree61bc7d5b0a8bb551d6383b031d172a5561e50e09 /drivers/net/atl1c/atl1c_main.c
parentc5ad4f592e27d782faea0a787d9181f192a69ef0 (diff)
downloadlinux-fsl-qoriq-37b76c697f4ac082e9923dfa8e8aecc8bc54a8e1.tar.xz
atl1c: misplaced parenthesis
Fix misplaced parenthesis Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/atl1c/atl1c_main.c')
-rw-r--r--drivers/net/atl1c/atl1c_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atl1c/atl1c_main.c b/drivers/net/atl1c/atl1c_main.c
index cd547a2..a383122 100644
--- a/drivers/net/atl1c/atl1c_main.c
+++ b/drivers/net/atl1c/atl1c_main.c
@@ -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,