summaryrefslogtreecommitdiffstats
path: root/drivers/net/atl1c/atl1c_main.c
diff options
context:
space:
mode:
authorroel kluin <roel.kluin@gmail.com>2009-07-12 14:57:38 +0200
committerDavid S. Miller <davem@davemloft.net>2009-07-17 03:05:20 +0200
commit37b76c697f4ac082e9923dfa8e8aecc8bc54a8e1 (patch)
tree61bc7d5b0a8bb551d6383b031d172a5561e50e09 /drivers/net/atl1c/atl1c_main.c
parentatl1c: add missing parentheses (diff)
downloadlinux-37b76c697f4ac082e9923dfa8e8aecc8bc54a8e1.tar.xz
linux-37b76c697f4ac082e9923dfa8e8aecc8bc54a8e1.zip
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 cd547a205fb9..a383122679de 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,