Skip to content

Commit 326fcfa

Browse files
Felix Fietkaudavem330
authored andcommitted
net: remove unnecessary semicolon in netdev_alloc_pcpu_stats()
This semicolon causes a build error if the function call is wrapped in parentheses. Fixes: aabc92b ("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>
1 parent 8a0d19c commit 326fcfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/netdevice.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2084,7 +2084,7 @@ struct pcpu_sw_netstats {
20842084
})
20852085

20862086
#define netdev_alloc_pcpu_stats(type) \
2087-
__netdev_alloc_pcpu_stats(type, GFP_KERNEL);
2087+
__netdev_alloc_pcpu_stats(type, GFP_KERNEL)
20882088

20892089
#include <linux/notifier.h>
20902090

0 commit comments

Comments
 (0)