ath5k: remove unused and write-only structures and fields
[cascardo/linux.git] / drivers / net / wireless / ath / ath5k / mac80211-ops.c
index 2a715ca..53d3af9 100644 (file)
@@ -137,11 +137,8 @@ ath5k_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
        /* Any MAC address is fine, all others are included through the
         * filter.
         */
-       memcpy(&ah->lladdr, vif->addr, ETH_ALEN);
        ath5k_hw_set_lladdr(ah, vif->addr);
 
-       memcpy(&avf->lladdr, vif->addr, ETH_ALEN);
-
        ath5k_update_bssid_mask_and_opmode(ah, vif);
        ret = 0;
 end: