generic: bump 4.4 to rc4
[openwrt/openwrt.git] / target / linux / generic / patches-4.4 / 010-net-remove-unnecessary-semicolon-in-netdev_alloc_pcp.patch
1 From: Felix Fietkau <nbd@openwrt.org>
2 Date: Sat, 5 Dec 2015 13:53:36 +0100
3 Subject: [PATCH] net: remove unnecessary semicolon in
4 netdev_alloc_pcpu_stats()
5
6 This semicolon causes a build error if the function call is wrapped in
7 parentheses.
8
9 Fixes: aabc92bbe3cf ("net: add __netdev_alloc_pcpu_stats() to indicate gfp flags")
10 Reported-by: Imre Kaloz <kaloz@openwrt.org>
11 Signed-off-by: Felix Fietkau <nbd@openwrt.org>
12 ---
13
14 --- a/include/linux/netdevice.h
15 +++ b/include/linux/netdevice.h
16 @@ -2084,7 +2084,7 @@ struct pcpu_sw_netstats {
17 })
18
19 #define netdev_alloc_pcpu_stats(type) \
20 - __netdev_alloc_pcpu_stats(type, GFP_KERNEL);
21 + __netdev_alloc_pcpu_stats(type, GFP_KERNEL)
22
23 #include <linux/notifier.h>
24