diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-01-22 04:36:59 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-02-04 15:48:26 -0500 |
commit | cc01f9b55fe77831a3ef63c0c461ca76540cee88 (patch) | |
tree | 6c4d59242e07feb57068c6beeb40d3443863cdb2 /drivers/net/wireless/iwlwifi/dvm | |
parent | f6e1a73b66bdf41765e762eda0f4ecb7d987ea57 (diff) |
mac80211: remove module handling from rate control ops
There's not a single rate control algorithm actually in
a separate module where the module refcount would be
required. Similarly, there's no specific rate control
module.
Therefore, all the module handling code in rate control
is really just dead code, so remove it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/dvm')
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/rs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/dvm/rs.c b/drivers/net/wireless/iwlwifi/dvm/rs.c index c4dded8d8091..592365ae46b6 100644 --- a/drivers/net/wireless/iwlwifi/dvm/rs.c +++ b/drivers/net/wireless/iwlwifi/dvm/rs.c | |||
@@ -3321,7 +3321,6 @@ static void rs_rate_init_stub(void *priv_r, struct ieee80211_supported_band *sba | |||
3321 | } | 3321 | } |
3322 | 3322 | ||
3323 | static const struct rate_control_ops rs_ops = { | 3323 | static const struct rate_control_ops rs_ops = { |
3324 | .module = NULL, | ||
3325 | .name = RS_NAME, | 3324 | .name = RS_NAME, |
3326 | .tx_status = rs_tx_status, | 3325 | .tx_status = rs_tx_status, |
3327 | .get_rate = rs_get_rate, | 3326 | .get_rate = rs_get_rate, |