diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2013-10-14 21:49:21 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-18 00:13:21 -0400 |
commit | 7cc7c5e54b7128195a1403747a63971c3c3f8e25 (patch) | |
tree | 59d2d33955806c0bdca4d7752c24fa8548c8d8f4 | |
parent | 400dfd3ae899849b27d398ca7894e1b44430887f (diff) | |
download | linux-stable-7cc7c5e54b7128195a1403747a63971c3c3f8e25.tar.gz linux-stable-7cc7c5e54b7128195a1403747a63971c3c3f8e25.tar.bz2 linux-stable-7cc7c5e54b7128195a1403747a63971c3c3f8e25.zip |
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 <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |