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 /ripd/rip_interface.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 'ripd/rip_interface.c')
| -rw-r--r-- | ripd/rip_interface.c | 6 | 
1 files changed, 2 insertions, 4 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c index 8fd64f2874..1269f25b35 100644 --- a/ripd/rip_interface.c +++ b/ripd/rip_interface.c @@ -789,7 +789,7 @@ int rip_enable_if_delete(struct rip *rip, const char *ifname)  }  /* Join to multicast group and send request to the interface. */ -static int rip_interface_wakeup(struct thread *t) +static void rip_interface_wakeup(struct thread *t)  {  	struct interface *ifp;  	struct rip_interface *ri; @@ -804,7 +804,7 @@ static int rip_interface_wakeup(struct thread *t)  		flog_err_sys(EC_LIB_SOCKET,  			     "multicast join failed, interface %s not running",  			     ifp->name); -		return 0; +		return;  	}  	/* Set running flag. */ @@ -812,8 +812,6 @@ static int rip_interface_wakeup(struct thread *t)  	/* Send RIP request to the interface. */  	rip_request_interface(ifp); - -	return 0;  }  static void rip_connect_set(struct interface *ifp, int set)  | 
