Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc01f9b5 authored by Johannes Berg's avatar Johannes Berg
Browse files

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: default avatarJohannes Berg <johannes.berg@intel.com>
parent f6e1a73b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1467,7 +1467,6 @@ static void ath_rate_free_sta(void *priv, struct ieee80211_sta *sta,
}

static const struct rate_control_ops ath_rate_ops = {
	.module = NULL,
	.name = "ath9k_rate_control",
	.tx_status = ath_tx_status,
	.get_rate = ath_get_rate,
+0 −1
Original line number Diff line number Diff line
@@ -892,7 +892,6 @@ il3945_rs_rate_init_stub(void *il_r, struct ieee80211_supported_band *sband,
}

static const struct rate_control_ops rs_ops = {
	.module = NULL,
	.name = RS_NAME,
	.tx_status = il3945_rs_tx_status,
	.get_rate = il3945_rs_get_rate,
+0 −1
Original line number Diff line number Diff line
@@ -2808,7 +2808,6 @@ il4965_rs_rate_init_stub(void *il_r, struct ieee80211_supported_band *sband,
}

static const struct rate_control_ops rs_4965_ops = {
	.module = NULL,
	.name = IL4965_RS_NAME,
	.tx_status = il4965_rs_tx_status,
	.get_rate = il4965_rs_get_rate,
+0 −1
Original line number Diff line number Diff line
@@ -3321,7 +3321,6 @@ static void rs_rate_init_stub(void *priv_r, struct ieee80211_supported_band *sba
}

static const struct rate_control_ops rs_ops = {
	.module = NULL,
	.name = RS_NAME,
	.tx_status = rs_tx_status,
	.get_rate = rs_get_rate,
+0 −1
Original line number Diff line number Diff line
@@ -2817,7 +2817,6 @@ static void rs_rate_init_stub(void *mvm_r,
}

static const struct rate_control_ops rs_mvm_ops = {
	.module = NULL,
	.name = RS_NAME,
	.tx_status = rs_tx_status,
	.get_rate = rs_get_rate,
Loading