aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/myri10ge
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-09-23 01:40:09 -0400
committerDavid S. Miller <davem@davemloft.net>2010-09-26 21:34:29 -0400
commit807540baae406c84dcb9c1c8ef07a56d2d2ae84a (patch)
treeccd5c2cb57710dd6b73cf8df11eedf67abc14ae4 /drivers/net/myri10ge
parentcb4dfe562cac6fcb544df752e40c1d78000d0712 (diff)
drivers/net: return operator cleanup
Change "return (EXPR);" to "return EXPR;" return is not a function, parentheses are not required. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/myri10ge')
-rw-r--r--drivers/net/myri10ge/myri10ge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c
index 24ab8a43c777..4f3a3c0d6d08 100644
--- a/drivers/net/myri10ge/myri10ge.c
+++ b/drivers/net/myri10ge/myri10ge.c
@@ -1555,12 +1555,12 @@ static irqreturn_t myri10ge_intr(int irq, void *arg)
1555 * valid since MSI-X irqs are not shared */ 1555 * valid since MSI-X irqs are not shared */
1556 if ((mgp->dev->real_num_tx_queues == 1) && (ss != mgp->ss)) { 1556 if ((mgp->dev->real_num_tx_queues == 1) && (ss != mgp->ss)) {
1557 napi_schedule(&ss->napi); 1557 napi_schedule(&ss->napi);
1558 return (IRQ_HANDLED); 1558 return IRQ_HANDLED;
1559 } 1559 }
1560 1560
1561 /* make sure it is our IRQ, and that the DMA has finished */ 1561 /* make sure it is our IRQ, and that the DMA has finished */
1562 if (unlikely(!stats->valid)) 1562 if (unlikely(!stats->valid))
1563 return (IRQ_NONE); 1563 return IRQ_NONE;
1564 1564
1565 /* low bit indicates receives are present, so schedule 1565 /* low bit indicates receives are present, so schedule
1566 * napi poll handler */ 1566 * napi poll handler */
@@ -1599,7 +1599,7 @@ static irqreturn_t myri10ge_intr(int irq, void *arg)
1599 myri10ge_check_statblock(mgp); 1599 myri10ge_check_statblock(mgp);
1600 1600
1601 put_be32(htonl(3), ss->irq_claim + 1); 1601 put_be32(htonl(3), ss->irq_claim + 1);
1602 return (IRQ_HANDLED); 1602 return IRQ_HANDLED;
1603} 1603}
1604 1604
1605static int 1605static int