mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-09 09:16:17 +00:00
zebra, lib: Remove return from void functions
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
parent
0445dc7d4e
commit
5ee080f00a
@ -371,7 +371,7 @@ int ns_enable(struct ns *ns, void (*func)(ns_id_t, void *))
|
||||
|
||||
void ns_disable(struct ns *ns)
|
||||
{
|
||||
return ns_disable_internal(ns);
|
||||
ns_disable_internal(ns);
|
||||
}
|
||||
|
||||
struct ns *ns_lookup(ns_id_t ns_id)
|
||||
|
@ -2586,14 +2586,14 @@ static void zserv_error_no_vrf(ZAPI_HANDLER_ARGS)
|
||||
zlog_debug("ZAPI message specifies unknown VRF: %d",
|
||||
hdr->vrf_id);
|
||||
|
||||
return zsend_error_msg(client, ZEBRA_NO_VRF, hdr);
|
||||
zsend_error_msg(client, ZEBRA_NO_VRF, hdr);
|
||||
}
|
||||
|
||||
static void zserv_error_invalid_msg_type(ZAPI_HANDLER_ARGS)
|
||||
{
|
||||
zlog_info("Zebra received unknown command %d", hdr->command);
|
||||
|
||||
return zsend_error_msg(client, ZEBRA_INVALID_MSG_TYPE, hdr);
|
||||
zsend_error_msg(client, ZEBRA_INVALID_MSG_TYPE, hdr);
|
||||
}
|
||||
|
||||
void (*const zserv_handlers[])(ZAPI_HANDLER_ARGS) = {
|
||||
|
Loading…
Reference in New Issue
Block a user