From c48349e346571d307b48ca594f6edd096be7ccfd Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Fri, 26 Nov 2021 00:02:37 +0200 Subject: *: Remove redundand braces for single statement blocks Signed-off-by: Donatas Abraitis --- ospf6d/ospf6_interface.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ospf6d/ospf6_interface.c') diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c index be5a7bb837..a0c921f419 100644 --- a/ospf6d/ospf6_interface.c +++ b/ospf6d/ospf6_interface.c @@ -1507,9 +1507,8 @@ static int ospf6_interface_show_traffic_common(struct vty *vty, int argc, ospf6_interface_show_traffic(vty, ifp, display_once, json, uj, vrf_id); - if (uj) { + if (uj) vty_json(vty, json); - } return CMD_SUCCESS; } -- cgit v1.2.3