linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] vxge: Remove unnecessary ; in do {} while (0) macro
@ 2012-04-03 21:53 Joe Perches
  2012-04-03 21:58 ` David Miller
  0 siblings, 1 reply; 6+ messages in thread
From: Joe Perches @ 2012-04-03 21:53 UTC (permalink / raw)
  To: Jon Mason; +Cc: netdev, linux-kernel

This macro doesn't need a terminating ; so just remove it.

Signed-off-by: Joe Perches <joe@perches.com>
---
 drivers/net/ethernet/neterion/vxge/vxge-main.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ethernet/neterion/vxge/vxge-main.h b/drivers/net/ethernet/neterion/vxge/vxge-main.h
index f52a42d..372406c 100644
--- a/drivers/net/ethernet/neterion/vxge/vxge-main.h
+++ b/drivers/net/ethernet/neterion/vxge/vxge-main.h
@@ -421,7 +421,7 @@ struct vxge_tx_priv {
 		timer.function = handle; \
 		timer.data = (unsigned long) arg; \
 		mod_timer(&timer, (jiffies + exp)); \
-	} while (0);
+	} while (0)
 
 void vxge_initialize_ethtool_ops(struct net_device *ndev);
 enum vxge_hw_status vxge_reset_all_vpaths(struct vxgedev *vdev);



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-04-05  0:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-03 21:53 [PATCH net-next] vxge: Remove unnecessary ; in do {} while (0) macro Joe Perches
2012-04-03 21:58 ` David Miller
2012-04-03 22:14   ` [PATCH net-next] vxge: Convert macro to inline function Joe Perches
2012-04-03 22:18     ` David Miller
2012-04-04 22:37       ` Joe Perches
2012-04-05  0:33         ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).