summaryrefslogtreecommitdiff
path: root/unl.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-12-10 16:02:49 +0000
committerrofl0r <rofl0r@users.noreply.github.com>2022-09-16 01:11:08 +0000
commitceec4bbe60e0b794214dccf953317690a43f069e (patch)
tree3edd32901b5a15fd80a7516e95c5597a926959b2 /unl.c
parent4225e93bec5304abee3386213213718367e54a93 (diff)
downloadlibnl-tiny-ceec4bbe60e0b794214dccf953317690a43f069e.tar.gz
libnl-tiny: remove dead code
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43599
Diffstat (limited to 'unl.c')
-rw-r--r--unl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/unl.c b/unl.c
index b38dab8..33c020e 100644
--- a/unl.c
+++ b/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;