From: Benjamin Poirier Date: Mon, 11 Dec 2023 14:07:26 +0000 (-0500) Subject: bridge: vni: Remove unused argument in open_vni_port() X-Git-Tag: v6.7.0~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=562b208a7b4d83a78f0036f97e5a078ddf540a1d;p=thirdparty%2Fiproute2.git bridge: vni: Remove unused argument in open_vni_port() Reviewed-by: Petr Machata Tested-by: Petr Machata Signed-off-by: Benjamin Poirier Signed-off-by: Stephen Hemminger --- diff --git a/bridge/vni.c b/bridge/vni.c index 0d8c1d34b..44781b01d 100644 --- a/bridge/vni.c +++ b/bridge/vni.c @@ -147,7 +147,7 @@ static int vni_modify(int cmd, int argc, char **argv) return 0; } -static void open_vni_port(int ifi_index, const char *fmt) +static void open_vni_port(int ifi_index) { open_json_object(NULL); print_color_string(PRINT_ANY, COLOR_IFNAME, "ifname", @@ -334,7 +334,7 @@ int print_vnifilter_rtm(struct nlmsghdr *n, void *arg) continue; if (!opened) { - open_vni_port(tmsg->ifindex, "%s"); + open_vni_port(tmsg->ifindex); opened = true; } else { print_string(PRINT_FP, NULL, "%-" __stringify(IFNAMSIZ) "s ", "");