iwlwifi/iwl3945: remove data_retry_limit
[linux-2.6.git] / drivers / net / wireless / iwlwifi / iwl-3945.c
index a6944bc53fec8478d000d040d60229a334d36cda..eb874e08ba53265b7f08850c680e9eeead611e04 100644 (file)
@@ -806,9 +806,6 @@ void iwl3945_hw_build_tx_cmd_rate(struct iwl_priv *priv,
        } else
                data_retry_limit = IWL_DEFAULT_TX_RETRY;
 
-       if (priv->data_retry_limit != -1)
-               data_retry_limit = priv->data_retry_limit;
-
        if (ieee80211_is_mgmt(fc)) {
                switch (fc & cpu_to_le16(IEEE80211_FCTL_STYPE)) {
                case cpu_to_le16(IEEE80211_STYPE_AUTH):