Merge remote-tracking branch 'wireless-next/master' into mac80211-next
[linux-2.6-block.git] / net / mac80211 / cfg.c
index 363d19b5d5c8d4bb88b75d537b69b7bef68f768e..3849fd07a32171cf8826b1e2509c4250379a456f 100644 (file)
@@ -1347,9 +1347,6 @@ static int sta_apply_parameters(struct ieee80211_local *local,
                                                    params->vht_capa, sta);
 
        if (params->opmode_notif_used) {
-               enum ieee80211_band band =
-                       ieee80211_get_sdata_band(sdata);
-
                /* returned value is only needed for rc update, but the
                 * rc isn't initialized here yet, so ignore it
                 */