aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libnl-tiny/src/unl.c
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/libnl-tiny/src/unl.c')
-rw-r--r--package/libs/libnl-tiny/src/unl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/package/libs/libnl-tiny/src/unl.c b/package/libs/libnl-tiny/src/unl.c
index b38dab8397..33c020ea13 100644
--- a/package/libs/libnl-tiny/src/unl.c
+++ b/package/libs/libnl-tiny/src/unl.c
@@ -109,13 +109,10 @@ out:
int unl_genl_request(struct unl *unl, struct nl_msg *msg, unl_cb handler, void *arg)
{
- struct nlmsghdr *nlh;
struct nl_cb *cb;
int err;
cb = nl_cb_alloc(NL_CB_CUSTOM);
- nlh = nlmsg_hdr(msg);
-
err = nl_send_auto_complete(unl->sock, msg);
if (err < 0)
goto out;