ti: Remove trailing semicolon from do {...} while (0) macro
authorJoe Perches <joe@perches.com>
Wed, 14 May 2014 19:15:13 +0000 (12:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 May 2014 20:41:27 +0000 (16:41 -0400)
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>
drivers/net/ethernet/ti/cpsw.c

index 52bcc5d9bc672486684e3981da305345105df55e..ff380dac6629d16f4d3642f9ed6789ec2da7f2ab 100644 (file)
@@ -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 :     \