diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-06-03 10:28:11 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-07-21 08:27:35 -0400 | 
| commit | cccd44f3b1ae4f6e16c9183c5222ba767340d1f7 (patch) | |
| tree | cdd63cd1e85f5cdbde2efce31827de9c4980f665 /ospfd/ospfd.h | |
| parent | 87af90a765b697a944e4309a4b89c0a44b958435 (diff) | |
ospfd: Remove various macros that overlap THREAD_OFF
Let's just use THREAD_OFF consistently in the code base
instead of each daemon having a special macro that needs to
be looked at and remembered what it does.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ospfd/ospfd.h')
| -rw-r--r-- | ospfd/ospfd.h | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/ospfd/ospfd.h b/ospfd/ospfd.h index 401a89fa38..8478c96ddc 100644 --- a/ospfd/ospfd.h +++ b/ospfd/ospfd.h @@ -647,8 +647,6 @@ struct ospf_nbr_nbma {  #define OSPF_TIMER_ON(T,F,V) thread_add_timer (master,(F),ospf,(V),&(T))  #define OSPF_AREA_TIMER_ON(T,F,V) thread_add_timer (master, (F), area, (V), &(T))  #define OSPF_POLL_TIMER_ON(T,F,V) thread_add_timer (master, (F), nbr_nbma, (V), &(T)) -#define OSPF_POLL_TIMER_OFF(X) OSPF_TIMER_OFF((X)) -#define OSPF_TIMER_OFF(X) thread_cancel(&(X))  /* Extern variables. */  extern struct ospf_master *om;  | 
