diff options
Diffstat (limited to 'net/tipc')
-rw-r--r-- | net/tipc/core.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/tipc/core.h b/net/tipc/core.h index e40ada964d6e..feabca580820 100644 --- a/net/tipc/core.h +++ b/net/tipc/core.h | |||
@@ -212,9 +212,7 @@ static inline void k_init_timer(struct timer_list *timer, Handler routine, | |||
212 | unsigned long argument) | 212 | unsigned long argument) |
213 | { | 213 | { |
214 | dbg("initializing timer %p\n", timer); | 214 | dbg("initializing timer %p\n", timer); |
215 | init_timer(timer); | 215 | setup_timer(timer, routine, argument); |
216 | timer->function = routine; | ||
217 | timer->data = argument; | ||
218 | } | 216 | } |
219 | 217 | ||
220 | /** | 218 | /** |