Commit 326fcfa5 authored by Felix Fietkau's avatar Felix Fietkau Committed by David S. Miller

net: remove unnecessary semicolon in netdev_alloc_pcpu_stats()

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

Fixes: aabc92bb ("net: add __netdev_alloc_pcpu_stats() to indicate gfp flags")
Reported-by: default avatarImre Kaloz <kaloz@openwrt.org>
Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
Acked-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8a0d19c5
...@@ -2084,7 +2084,7 @@ struct pcpu_sw_netstats { ...@@ -2084,7 +2084,7 @@ struct pcpu_sw_netstats {
}) })
#define netdev_alloc_pcpu_stats(type) \ #define netdev_alloc_pcpu_stats(type) \
__netdev_alloc_pcpu_stats(type, GFP_KERNEL); __netdev_alloc_pcpu_stats(type, GFP_KERNEL)
#include <linux/notifier.h> #include <linux/notifier.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment