* [PATCH] atl1c: misplaced parenthesis
@ 2009-07-12 22:57 Roel Kluin
2009-07-17 1:08 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Roel Kluin @ 2009-07-12 22:57 UTC (permalink / raw)
To: jcliburn, atl1-devel, Andrew Morton, David Miller, netdev
Fix misplaced parenthesis
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
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,
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] atl1c: misplaced parenthesis
2009-07-12 22:57 [PATCH] atl1c: misplaced parenthesis Roel Kluin
@ 2009-07-17 1:08 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-07-17 1:08 UTC (permalink / raw)
To: roel.kluin; +Cc: jcliburn, atl1-devel, akpm, netdev
From: Roel Kluin <roel.kluin@gmail.com>
Date: Mon, 13 Jul 2009 00:57:38 +0200
> Fix misplaced parenthesis
>
> Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-17 1:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-12 22:57 [PATCH] atl1c: misplaced parenthesis Roel Kluin
2009-07-17 1:08 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).