X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Fdecnet%2Fdn_route.c;h=3407f190afe8892699025bf504c73111a082b8b5;hb=cb8a55e4cda017ed37a3ee051365f33a86956312;hp=2c915f305be37ffef87997ae5fbab5a166103c3b;hpb=0481990b758628e12f4b0a9e15094e70cefc7cd1;p=mv-sheeva.git diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c index 2c915f305be..3407f190afe 100644 --- a/net/decnet/dn_route.c +++ b/net/decnet/dn_route.c @@ -117,8 +117,7 @@ static struct dn_rt_hash_bucket *dn_rt_hash_table; static unsigned dn_rt_hash_mask; static struct timer_list dn_route_timer; -static struct timer_list dn_rt_flush_timer = - TIMER_INITIALIZER(dn_run_flush, 0, 0); +static DEFINE_TIMER(dn_rt_flush_timer, dn_run_flush, 0, 0); int decnet_dst_gc_interval = 2; static struct dst_ops dn_dst_ops = {