Skip to content

Commit

Permalink
babeld: remove unused return variable
Browse files Browse the repository at this point in the history
There is an unused variable in the function. Remove it.

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

Signed-off-by: Nick Hainke <[email protected]>
  • Loading branch information
PolynomialDivision committed Feb 1, 2022
1 parent 3852004 commit 879725c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion babeld/src/ubus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 879725c

Please sign in to comment.