diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-03-06 23:01:42 +0100 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-03-12 19:57:05 +0100 |
commit | 8068a649a79409737dfa5235a84915b544d4fff7 (patch) | |
tree | 3c5dff3b68589522e502c66519140b6124de1a28 /zebra/zebra_mroute.c | |
parent | tests: add unit test for zlog (diff) | |
download | frr-8068a649a79409737dfa5235a84915b544d4fff7.tar.xz frr-8068a649a79409737dfa5235a84915b544d4fff7.zip |
zebra: dont return a status code in zapi handlers
All of the ZAPI message handlers return an integer that means different
things to each of them, but nobody ever reads these integers, so this is
technical debt that we can just eliminate outright.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_mroute.c')
-rw-r--r-- | zebra/zebra_mroute.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/zebra/zebra_mroute.c b/zebra/zebra_mroute.c index e9cd19ebe..1143451d6 100644 --- a/zebra/zebra_mroute.c +++ b/zebra/zebra_mroute.c @@ -32,8 +32,8 @@ #include "zebra/rt.h" #include "zebra/debug.h" -int zebra_ipmr_route_stats(struct zserv *client, u_short length, - struct zebra_vrf *zvrf) +void zebra_ipmr_route_stats(struct zserv *client, u_short length, + struct zebra_vrf *zvrf) { struct mcast_route_data mroute; struct stream *s; @@ -69,5 +69,4 @@ stream_failure: stream_putw_at(s, 0, stream_get_endp(s)); zebra_server_send_message(client); - return 0; } |