From: Jo-Philipp Wich Date: Thu, 29 Oct 2015 12:46:07 +0000 (+0100) Subject: nl80211: remove dead code X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7781ba3f33f8905602b96df7d3295b54b5945168;p=oweals%2Fiwinfo.git nl80211: remove dead code Signed-off-by: Jo-Philipp Wich --- diff --git a/iwinfo_nl80211.c b/iwinfo_nl80211.c index 1a1fc69..67d551c 100644 --- a/iwinfo_nl80211.c +++ b/iwinfo_nl80211.c @@ -218,9 +218,6 @@ static struct nl80211_msg_conveyor * nl80211_new(struct genl_family *family, return &cv; err: - if (cb) - nl_cb_put(cb); - if (req) nlmsg_free(req);