]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
net: remove unnecessary semicolon in netdev_alloc_pcpu_stats()
authorFelix Fietkau <nbd@openwrt.org>
Sat, 5 Dec 2015 12:58:11 +0000 (13:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Dec 2015 03:32:32 +0000 (22:32 -0500)
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")
Reported-by: Imre Kaloz <kaloz@openwrt.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h

index 3b5d134e945a9b1a5dda9b636c04909318fe8a67..3143c847bddbca47bed1a324bf85e58283e966a5 100644 (file)
@@ -2084,7 +2084,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>