mirror of
https://github.com/openwrt/routing.git
synced 2025-12-22 01:44:32 +04:00
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:
@@ -72,7 +72,6 @@ static int babeld_ubus_add_interface(struct ubus_context *ctx_local,
|
|||||||
struct blob_attr *tb[__INTERFACE_MAX];
|
struct blob_attr *tb[__INTERFACE_MAX];
|
||||||
struct blob_buf b = {0};
|
struct blob_buf b = {0};
|
||||||
struct interface *ifp = NULL;
|
struct interface *ifp = NULL;
|
||||||
int ret;
|
|
||||||
char *ifname;
|
char *ifname;
|
||||||
|
|
||||||
blobmsg_parse(interface_policy, __INTERFACE_MAX, tb, blob_data(msg),
|
blobmsg_parse(interface_policy, __INTERFACE_MAX, tb, blob_data(msg),
|
||||||
|
|||||||
Reference in New Issue
Block a user