summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti/cpsw.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-05-14 12:15:13 -0700
committerDavid S. Miller <davem@davemloft.net>2014-05-15 16:41:27 -0400
commit5f47dfb400d6a82d5ce9cdf537e33969af8278ff (patch)
treef0d11adf36dc74e3f844d7448e0e069c072cafe2 /drivers/net/ethernet/ti/cpsw.c
parent1f499d6a3b5e377312d607e6e9c055f4210ad0b7 (diff)
ti: Remove trailing semicolon from do {...} while (0) macro
These should not have trailing semicolons so remove them. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/cpsw.c')
-rw-r--r--drivers/net/ethernet/ti/cpsw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
index 52bcc5d9bc6..ff380dac662 100644
--- a/drivers/net/ethernet/ti/cpsw.c
+++ b/drivers/net/ethernet/ti/cpsw.c
@@ -143,13 +143,13 @@ do { \
u32 i; \
for (i = 0; i < priv->num_irqs; i++) \
enable_irq(priv->irqs_table[i]); \
- } while (0);
+ } while (0)
#define cpsw_disable_irq(priv) \
do { \
u32 i; \
for (i = 0; i < priv->num_irqs; i++) \
disable_irq_nosync(priv->irqs_table[i]); \
- } while (0);
+ } while (0)
#define cpsw_slave_index(priv) \
((priv->data.dual_emac) ? priv->emac_port : \