From: Ben Hutchings Date: Mon, 14 Oct 2013 20:49:21 +0000 (+0100) Subject: net: Delete trailing semi-colon from definition of netdev_WARN() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7cc7c5e54b7128195a1403747a63971c3c3f8e25;p=linux-beck.git net: Delete trailing semi-colon from definition of netdev_WARN() Macro definitions should not normally end with a semi-colon, as this makes it dangerous to use them an if...else statement. Happily this has not happened yet. Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 2e53b44454ad..27f62f746621 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -3049,7 +3049,7 @@ do { \ * file/line information and a backtrace. */ #define netdev_WARN(dev, format, args...) \ - WARN(1, "netdevice: %s\n" format, netdev_name(dev), ##args); + WARN(1, "netdevice: %s\n" format, netdev_name(dev), ##args) /* netif printk helpers, similar to netdev_printk */