diff options
author | Donald Sharp <sharpd@nvidia.com> | 2022-12-14 20:05:11 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2022-12-15 17:15:33 +0100 |
commit | 074c80b705faa21f1347383ec6310ea17a00ffc2 (patch) | |
tree | 463096dbfbd589278346b83ecd0297bda6c412d6 /zebra/zebra_mpls.c | |
parent | tests: Limit run of config_timing when building with --enable-address-sanitizer (diff) | |
download | frr-074c80b705faa21f1347383ec6310ea17a00ffc2.tar.xz frr-074c80b705faa21f1347383ec6310ea17a00ffc2.zip |
lib, tests, zebra: Remove unused workqueue error function
The wq->spec.errorfunc is never used in the code.
It's been in the code base since 2005 and I also
do not remember ever seeing it being called. No
workqueue process function ever returns error.
Since it's not used let's just remove it from the
code base.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_mpls.c')
-rw-r--r-- | zebra/zebra_mpls.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/zebra/zebra_mpls.c b/zebra/zebra_mpls.c index 9756d9ba0..fe3f77f3c 100644 --- a/zebra/zebra_mpls.c +++ b/zebra/zebra_mpls.c @@ -1754,7 +1754,6 @@ static void mpls_processq_init(void) zrouter.lsp_process_q->spec.workfunc = &lsp_process; zrouter.lsp_process_q->spec.del_item_data = &lsp_processq_del; - zrouter.lsp_process_q->spec.errorfunc = NULL; zrouter.lsp_process_q->spec.completion_func = &lsp_processq_complete; zrouter.lsp_process_q->spec.max_retries = 0; zrouter.lsp_process_q->spec.hold = 10; |