summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_rib.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-02-25 19:59:55 +0100
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-02-26 00:00:16 +0100
commit9f2d03544785b7f6cb08fe2d6ad6a2a491d8fb53 (patch)
tree3f9ca6ee7c91287620e3ce27c8ef9a841fb877a6 /zebra/zebra_rib.c
parent*: return bool from boolean functions (diff)
downloadfrr-9f2d03544785b7f6cb08fe2d6ad6a2a491d8fb53.tar.xz
frr-9f2d03544785b7f6cb08fe2d6ad6a2a491d8fb53.zip
*: remove useless return variables
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r--zebra/zebra_rib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 5f9210109..a739b0a68 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -3236,7 +3236,6 @@ void rib_close_table(struct route_table *table)
*/
static int handle_pw_result(struct zebra_dplane_ctx *ctx)
{
- int ret = 0;
struct zebra_pw *pw;
struct zebra_vrf *vrf;
@@ -3255,7 +3254,7 @@ static int handle_pw_result(struct zebra_dplane_ctx *ctx)
done:
- return ret;
+ return 0;
}