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>
This commit is contained in:
parent
400dfd3ae8
commit
7cc7c5e54b
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue