[net-next:master 168/173] net/core/neighbour.c:65:12: warning: 'zero' defined but not used

From: kbuild test robot <hidden>
Date: 2012-12-05 21:42:00

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   c2d3babfafbb9f6629cfb47139758e59a5eb0d80
commit: ce46cc64d47a8afaf13c300b09a7f9c29f4979b6 [168/173] net: neighbour: prohibit negative value for unres_qlen_bytes parameter
config: x86_64-randconfig-s410 (attached as .config)

All warnings:

net/core/neighbour.c:65:12: warning: 'zero' defined but not used [-Wunused-variable]
net/core/neighbour.c:66:12: warning: 'unres_qlen_max' defined but not used [-Wunused-variable]

vim +65 +/zero net/core/neighbour.c

^1da177e Linus Torvalds 2005-04-16  59  
^1da177e Linus Torvalds 2005-04-16  60  static void neigh_timer_handler(unsigned long arg);
d961db35 Thomas Graf    2007-08-08  61  static void __neigh_notify(struct neighbour *n, int type, int flags);
d961db35 Thomas Graf    2007-08-08  62  static void neigh_update_notify(struct neighbour *neigh);
^1da177e Linus Torvalds 2005-04-16  63  static int pneigh_ifdown(struct neigh_table *tbl, struct net_device *dev);
^1da177e Linus Torvalds 2005-04-16  64  
ce46cc64 Shan Wei       2012-12-04 @65  static int zero;
ce46cc64 Shan Wei       2012-12-04 @66  static int unres_qlen_max = INT_MAX / SKB_TRUESIZE(ETH_FRAME_LEN);
ce46cc64 Shan Wei       2012-12-04  67  
^1da177e Linus Torvalds 2005-04-16  68  static struct neigh_table *neigh_tables;
45fc3b11 Amos Waterland 2005-09-24  69  #ifdef CONFIG_PROC_FS

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help