[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>
This commit is contained in:

committed by
David S. Miller

parent
21fab4a86a
commit
e848b583e0
@@ -324,6 +324,7 @@ extern void ax25_dama_on(ax25_cb *);
|
||||
extern void ax25_dama_off(ax25_cb *);
|
||||
|
||||
/* ax25_ds_timer.c */
|
||||
extern void ax25_ds_setup_timer(ax25_dev *);
|
||||
extern void ax25_ds_set_timer(ax25_dev *);
|
||||
extern void ax25_ds_del_timer(ax25_dev *);
|
||||
extern void ax25_ds_timer(ax25_cb *);
|
||||
|
Reference in New Issue
Block a user