aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libnl-tiny/src/unl.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-12-10 16:02:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-12-10 16:02:49 +0000
commitd928d333e3122a63de42c5db5aa91b7964765590 (patch)
treea398d61ed8af40eda684065f9f1c7d4f4c4d83d6 /package/libs/libnl-tiny/src/unl.c
parent9432cbd577561f047ff13da7519a0ba3a93a252e (diff)
downloadupstream-d928d333e3122a63de42c5db5aa91b7964765590.tar.gz
upstream-d928d333e3122a63de42c5db5aa91b7964765590.tar.bz2
upstream-d928d333e3122a63de42c5db5aa91b7964765590.zip
libnl-tiny: remove dead code
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43599
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;