diff options
Diffstat (limited to 'net/decnet')
-rw-r--r-- | net/decnet/dn_route.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c index 0e10ff21e292..23aa3556e56f 100644 --- a/net/decnet/dn_route.c +++ b/net/decnet/dn_route.c | |||
@@ -1752,8 +1752,7 @@ void __init dn_route_init(void) | |||
1752 | dn_dst_ops.kmem_cachep = | 1752 | dn_dst_ops.kmem_cachep = |
1753 | kmem_cache_create("dn_dst_cache", sizeof(struct dn_route), 0, | 1753 | kmem_cache_create("dn_dst_cache", sizeof(struct dn_route), 0, |
1754 | SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL); | 1754 | SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL); |
1755 | init_timer(&dn_route_timer); | 1755 | setup_timer(&dn_route_timer, dn_dst_check_expire, 0); |
1756 | dn_route_timer.function = dn_dst_check_expire; | ||
1757 | dn_route_timer.expires = jiffies + decnet_dst_gc_interval * HZ; | 1756 | dn_route_timer.expires = jiffies + decnet_dst_gc_interval * HZ; |
1758 | add_timer(&dn_route_timer); | 1757 | add_timer(&dn_route_timer); |
1759 | 1758 | ||