From 879725ce3e2e6e48bbcfed7380ecf3f59cb58edd Mon Sep 17 00:00:00 2001 From: Nick Hainke Date: Tue, 1 Feb 2022 20:12:11 +0100 Subject: [PATCH] babeld: remove unused return variable There is an unused variable in the function. Remove it. Fixes: 385200443554 ("babeld: add add_interface function"). Signed-off-by: Nick Hainke --- babeld/src/ubus.c | 1 - 1 file changed, 1 deletion(-) diff --git a/babeld/src/ubus.c b/babeld/src/ubus.c index ff37cd3..2066994 100644 --- a/babeld/src/ubus.c +++ b/babeld/src/ubus.c @@ -72,7 +72,6 @@ static int babeld_ubus_add_interface(struct ubus_context *ctx_local, struct blob_attr *tb[__INTERFACE_MAX]; struct blob_buf b = {0}; struct interface *ifp = NULL; - int ret; char *ifname; blobmsg_parse(interface_policy, __INTERFACE_MAX, tb, blob_data(msg),