iwl3945: kill hw_params.tx_ant_num
authorWinkler, Tomas <tomas.winkler@intel.com>
Thu, 8 Jan 2009 18:19:52 +0000 (10:19 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:00:11 +0000 (16:00 -0500)
This patch removes tx_ant_num for hw_params structure. It is not used.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-3945.c
drivers/net/wireless/iwlwifi/iwl-dev.h

index d4ee15ed5e4c99e11cdff22144e5698de7b36356..8efe33805e11f4f18c5800d07f52b2a3e8af96fe 100644 (file)
@@ -2492,7 +2492,6 @@ int iwl3945_hw_set_hw_params(struct iwl_priv *priv)
        priv->hw_params.max_stations = IWL3945_STATION_COUNT;
        priv->hw_params.bcast_sta_id = IWL3945_BROADCAST_ID;
 
-       priv->hw_params.tx_ant_num = 2;
        return 0;
 }
 
index 9b9d7435321b2061ccefb9f412412b91fff64315..a092401fd9c01f2d2a6d8a12789a4a7afbcb5b59 100644 (file)
@@ -595,9 +595,6 @@ struct iwl_hw_params {
        u32 ct_kill_threshold; /* value in hw-dependent units */
        u32 calib_init_cfg;
        const struct iwl_sensitivity_ranges *sens;
-
-       /* for 3945 */
-       u16 tx_ant_num;
 };