Skip to content

Commit

Permalink
ti: Remove trailing semicolon from do {...} while (0) macro
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joe Perches authored and David S. Miller committed May 15, 2014
1 parent 1f499d6 commit 5f47dfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/ti/cpsw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 : \
Expand Down

0 comments on commit 5f47dfb

Please sign in to comment.