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 1a1fc69..67d551c 100644 (file)
@@ -218,9 +218,6 @@ static struct nl80211_msg_conveyor * nl80211_new(struct genl_family *family,
        return &cv;
 
 err:
        return &cv;
 
 err:
-       if (cb)
-               nl_cb_put(cb);
-
        if (req)
                nlmsg_free(req);
 
        if (req)
                nlmsg_free(req);