[IPV6] SNMP: Fix several warnings without procfs.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
This commit is contained in:
YOSHIFUJI Hideaki
2007-04-21 20:13:44 +09:00
committed by David S. Miller
parent 2334e97355
commit 952a10be32
2 changed files with 3 additions and 2 deletions

View File

@@ -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);