Skip to contentSkip to conversation

net: remove unnecessary semicolon in netdev_alloc_pcpu_stats()

PATCH In review Felix Fietkau 3 participants 3 messages Dec 5, 2015 – Dec 7, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: remove unnecessary semicolon in netdev_alloc_pcpu_stats()

This semicolon causes a build error if the function call is wrapped in parentheses.

Fixes aabc92bbe3cf ("net: add __netdev_alloc_pcpu_stats() to indicate gfp flags")
---
 include/linux/netdevice.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/netdevice.h +1 -1
index 7d2d1d7..f2f91d9 100644
@@ -2103,7 +2103,7 @@ struct pcpu_sw_netstats {
 })
 
 #define netdev_alloc_pcpu_stats(type)					\
-	__netdev_alloc_pcpu_stats(type, GFP_KERNEL);
+	__netdev_alloc_pcpu_stats(type, GFP_KERNEL)
 
 #include <linux/notifier.h>
 
Signature · 1 line
2.2.2