diff options
| author | Nick Hainke <vincent@systemli.org> | 2022-02-01 20:12:11 +0100 |
|---|---|---|
| committer | Nick Hainke <vincent@systemli.org> | 2022-02-01 20:37:25 +0100 |
| commit | 879725ce3e2e6e48bbcfed7380ecf3f59cb58edd (patch) | |
| tree | 2905921fee2f728181b6803f01df04d3aa746171 /babeld | |
| parent | 385200443554ab87e0205f5551f7a0c1883da776 (diff) | |
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 <vincent@systemli.org>
Diffstat (limited to 'babeld')
| -rw-r--r-- | babeld/src/ubus.c | 1 |
1 files changed, 0 insertions, 1 deletions
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), |
