summaryrefslogtreecommitdiffstats
path: root/net/ipv6/route.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki2007-04-21 13:13:44 +0200
committerDavid S. Miller2007-04-26 07:29:36 +0200
commit952a10be3272c4b5b7839b09cb0483dc72137101 (patch)
tree12c29551260be0c6e7b412199236812b42707e23 /net/ipv6/route.c
parent[IPV6] SNMP: Avoid unaligned accesses. (diff)
downloadkernel-qcow2-linux-952a10be3272c4b5b7839b09cb0483dc72137101.tar.gz
kernel-qcow2-linux-952a10be3272c4b5b7839b09cb0483dc72137101.tar.xz
kernel-qcow2-linux-952a10be3272c4b5b7839b09cb0483dc72137101.zip
[IPV6] SNMP: Fix several warnings without procfs.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r--net/ipv6/route.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 6264ec3bb154..b46ad53044ba 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -2489,8 +2489,9 @@ ctl_table ipv6_route_table[] = {
void __init ip6_route_init(void)
{
+#ifdef CONFIG_PROC_FS
struct proc_dir_entry *p;
-
+#endif
ip6_dst_ops.kmem_cachep =
kmem_cache_create("ip6_dst_cache", sizeof(struct rt6_info), 0,
SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL, NULL);