summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_route.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2020-02-09 13:21:56 +0100
committerDonatas Abraitis <donatas.abraitis@gmail.com>2020-02-09 13:21:56 +0100
commit95f7965d09a6eb4447c0de5a679114492cac3f37 (patch)
tree1bfa78792b4f62934a483104e921f0bff5809590 /ospf6d/ospf6_route.c
parenttools: Add coccinelle script to remove parenthesis on return (diff)
downloadfrr-95f7965d09a6eb4447c0de5a679114492cac3f37.tar.xz
frr-95f7965d09a6eb4447c0de5a679114492cac3f37.zip
*: Remove parenthesis on return for constants
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'ospf6d/ospf6_route.c')
-rw-r--r--ospf6d/ospf6_route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_route.c b/ospf6d/ospf6_route.c
index 28b15769d..723746c47 100644
--- a/ospf6d/ospf6_route.c
+++ b/ospf6d/ospf6_route.c
@@ -336,7 +336,7 @@ int ospf6_route_get_first_nh_index(struct ospf6_route *route)
return nh->ifindex;
}
- return (-1);
+ return -1;
}
int ospf6_nexthop_cmp(struct ospf6_nexthop *a, struct ospf6_nexthop *b)