babeld: remove unused return variable

There is an unused variable in the function. Remove it.

Fixes: 3852004435 ("babeld: add add_interface function").

Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
Nick Hainke 2022-02-01 20:12:11 +01:00
parent 3852004435
commit 879725ce3e
1 changed files with 0 additions and 1 deletions

View File

@ -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),