From: Amos Waterland Date: Sat, 24 Sep 2005 23:53:16 +0000 (-0700) Subject: [NET]: Protect neigh_stat_seq_fops by CONFIG_PROC_FS X-Git-Tag: v2.6.14-rc3~113^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45fc3b11f1d419ed6c636e5ca84472d9805f520e;p=pandora-kernel.git [NET]: Protect neigh_stat_seq_fops by CONFIG_PROC_FS From: Amos Waterland If CONFIG_PROC_FS is not selected, the compiler emits this warning: net/core/neighbour.c:64: warning: `neigh_stat_seq_fops' defined but not used Which is correct, because neigh_stat_seq_fops is in fact only initialized and used by code that is protected by CONFIG_PROC_FS. So this patch fixes that up. Signed-off-by: Amos Waterland Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- Reading git-diff-tree failed