diff options
author | Jarek Poplawski <jarkao2@gmail.com> | 2008-02-12 00:38:32 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-12 20:53:34 -0500 |
commit | e848b583e03306f5f9b3a66a793c37e3649e04ca (patch) | |
tree | d7772ed15a4a4bb8148a936744770b92658273c9 /include/net | |
parent | 21fab4a86a411c18c6b4d663ae710ca1f6206b3c (diff) |
[AX25] ax25_ds_timer: use mod_timer instead of add_timer
This patch changes current use of: init_timer(), add_timer()
and del_timer() to setup_timer() with mod_timer(), which
should be safer anyway.
Reported-by: Jann Traschewski <jann@gmx.de>
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ax25.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ax25.h b/include/net/ax25.h index 3f0236f1d23e..717e2192d521 100644 --- a/include/net/ax25.h +++ b/include/net/ax25.h | |||
@@ -324,6 +324,7 @@ extern void ax25_dama_on(ax25_cb *); | |||
324 | extern void ax25_dama_off(ax25_cb *); | 324 | extern void ax25_dama_off(ax25_cb *); |
325 | 325 | ||
326 | /* ax25_ds_timer.c */ | 326 | /* ax25_ds_timer.c */ |
327 | extern void ax25_ds_setup_timer(ax25_dev *); | ||
327 | extern void ax25_ds_set_timer(ax25_dev *); | 328 | extern void ax25_ds_set_timer(ax25_dev *); |
328 | extern void ax25_ds_del_timer(ax25_dev *); | 329 | extern void ax25_ds_del_timer(ax25_dev *); |
329 | extern void ax25_ds_timer(ax25_cb *); | 330 | extern void ax25_ds_timer(ax25_cb *); |