iwlwifi: remove unused HT configuration entry tx_chan_width
authorDaniel C Halperin <daniel.c.halperin@intel.com>
Thu, 13 Aug 2009 20:30:51 +0000 (13:30 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Aug 2009 15:33:09 +0000 (11:33 -0400)
The tx_chan_width entry is never used, supported_chan_width is used instead.

Signed-off-by: Daniel C Halperin <daniel.c.halperin@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-dev.h

index af735128333a497a8db25b4979304fed31bf4be5..479b7e165b09bfde9510d67f71482280a89a5bd7 100644 (file)
@@ -2423,7 +2423,6 @@ static void iwl_ht_conf(struct iwl_priv *priv,
 
        memcpy(&iwl_conf->mcs, &ht_conf->mcs, 16);
 
-       iwl_conf->tx_chan_width = iwl_conf->supported_chan_width != 0;
        iwl_conf->ht_protection =
                bss_conf->ht_operation_mode & IEEE80211_HT_OP_MODE_PROTECTION;
        iwl_conf->non_GF_STA_present =
index b96c3c9e92a9ff5b9a5e81cc0c59b49be5f13793..c34f9d73306dde146027083c74a65eab8285667e 100644 (file)
@@ -515,7 +515,6 @@ struct iwl_ht_info {
        struct ieee80211_mcs_info mcs;
        /* BSS related data */
        u8 extension_chan_offset;
-       u8 tx_chan_width;
        u8 ht_protection;
        u8 non_GF_STA_present;
 };