Skip to content

Commit

Permalink
net: remove unnecessary semicolon in netdev_alloc_pcpu_stats()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Felix Fietkau authored and David S. Miller committed Dec 7, 2015
1 parent 8a0d19c commit 326fcfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 326fcfa

Please sign in to comment.