summaryrefslogtreecommitdiffstats
path: root/drivers
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
parent1f499d6a3b5e377312d607e6e9c055f4210ad0b7 (diff)
downloadtalos-obmc-linux-5f47dfb400d6a82d5ce9cdf537e33969af8278ff.tar.gz
talos-obmc-linux-5f47dfb400d6a82d5ce9cdf537e33969af8278ff.zip
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')
-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 52bcc5d9bc67..ff380dac6629 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 : \
OpenPOWER on IntegriCloud