Re: [PATCH net-next] net: make u64_stats_init() a function

2015-06-15 Thread David Miller
From: Eric Dumazet Date: Fri, 12 Jun 2015 19:44:48 -0700 > From: Eric Dumazet > > Using a function instead of a macro is cleaner and remove > following W=1 warnings (extract) ... > Signed-off-by: Eric Dumazet Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in th

[PATCH net-next] net: make u64_stats_init() a function

2015-06-12 Thread Eric Dumazet
From: Eric Dumazet Using a function instead of a macro is cleaner and remove following W=1 warnings (extract) In file included from net/ipv6/ip6_vti.c:29:0: net/ipv6/ip6_vti.c: In function ‘vti6_dev_init_gen’: include/linux/netdevice.h:2029:18: warning: variable ‘stat’ set but not used [-Wunused