diff options
author | Donald Sharp <sharpd@nvidia.com> | 2022-02-23 01:04:25 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2022-02-24 01:56:04 +0100 |
commit | cc9f21da2218d95567eff1501482ce58e6600f54 (patch) | |
tree | d579c9754161d874bad6eb09c67821b65fb559ca /sharpd | |
parent | Merge pull request #10621 from donaldsharp/cov_fun (diff) | |
download | frr-cc9f21da2218d95567eff1501482ce58e6600f54.tar.xz frr-cc9f21da2218d95567eff1501482ce58e6600f54.zip |
*: 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 'sharpd')
-rw-r--r-- | sharpd/sharp_logpump.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sharpd/sharp_logpump.c b/sharpd/sharp_logpump.c index 322d802b8..ad1051f22 100644 --- a/sharpd/sharp_logpump.c +++ b/sharpd/sharp_logpump.c @@ -43,7 +43,7 @@ static struct vty *lp_vty; extern struct thread_master *master; -static int logpump_done(struct thread *thread) +static void logpump_done(struct thread *thread) { double x; @@ -67,7 +67,6 @@ static int logpump_done(struct thread *thread) frr_pthread_stop(lpt, NULL); frr_pthread_destroy(lpt); lpt = NULL; - return 0; } static void *logpump_run(void *arg) |