projects
/
feed
/
routing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3852004
)
babeld: remove unused return variable
author
Nick Hainke
<vincent@systemli.org>
Tue, 1 Feb 2022 19:12:11 +0000
(20:12 +0100)
committer
Nick Hainke
<vincent@systemli.org>
Tue, 1 Feb 2022 19:37:25 +0000
(20:37 +0100)
There is an unused variable in the function. Remove it.
Fixes: 385200443554 ("babeld: add add_interface function").
Signed-off-by: Nick Hainke <vincent@systemli.org>
babeld/src/ubus.c
patch
|
blob
|
history
diff --git
a/babeld/src/ubus.c
b/babeld/src/ubus.c
index ff37cd3a6c4bdc917be2f370d944e6b99ca3df79..2066994efc2b512979b045e4f34520963b9af576 100644
(file)
--- 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),