From: Nick Hainke Date: Tue, 1 Feb 2022 19:12:11 +0000 (+0100) Subject: babeld: remove unused return variable X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=879725ce3e2e6e48bbcfed7380ecf3f59cb58edd;p=feed%2Frouting.git 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 --- 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),