nl80211: remove dead code
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 29 Oct 2015 12:46:07 +0000 (13:46 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 29 Oct 2015 12:46:12 +0000 (13:46 +0100)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
iwinfo_nl80211.c

index 1a1fc69db4f15f1cb4685f49bc4318db39f824b4..67d551c3bc799997885467b8ae932c87aa732774 100644 (file)
@@ -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);