diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-02-22 19:04:25 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-02-23 19:56:04 -0500 | 
| commit | cc9f21da2218d95567eff1501482ce58e6600f54 (patch) | |
| tree | d579c9754161d874bad6eb09c67821b65fb559ca /isisd/isis_adjacency.c | |
| parent | eaba619fc183f68a456b3918f449185b3b477426 (diff) | |
*: Change thread->func to return void instead of int
The int return value is never used.  Modify the code
base to just return a void instead.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'isisd/isis_adjacency.c')
| -rw-r--r-- | isisd/isis_adjacency.c | 4 | 
1 files changed, 1 insertions, 3 deletions
diff --git a/isisd/isis_adjacency.c b/isisd/isis_adjacency.c index d75613f300..06909c4306 100644 --- a/isisd/isis_adjacency.c +++ b/isisd/isis_adjacency.c @@ -448,7 +448,7 @@ const char *isis_adj_yang_state(enum isis_adj_state state)  	}  } -int isis_adj_expire(struct thread *thread) +void isis_adj_expire(struct thread *thread)  {  	struct isis_adjacency *adj; @@ -461,8 +461,6 @@ int isis_adj_expire(struct thread *thread)  	/* trigger the adj expire event */  	isis_adj_state_change(&adj, ISIS_ADJ_DOWN, "holding time expired"); - -	return 0;  }  /*  | 
