Commit ea3ef101 authored by Sujith Manoharan's avatar Sujith Manoharan Committed by John W. Linville
Browse files

ath9k: Remove unused function argument

parent 7c5c73cd
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -885,7 +885,6 @@ static int ath9k_process_rate(struct ath_common *common,


static void ath9k_process_rssi(struct ath_common *common,
static void ath9k_process_rssi(struct ath_common *common,
			       struct ieee80211_hw *hw,
			       struct ieee80211_hw *hw,
			       struct ieee80211_hdr *hdr,
			       struct ath_rx_status *rx_stats)
			       struct ath_rx_status *rx_stats)
{
{
	struct ath_softc *sc = hw->priv;
	struct ath_softc *sc = hw->priv;
@@ -1150,7 +1149,7 @@ static int ath9k_rx_skb_preprocess(struct ath_softc *sc,
		goto exit;
		goto exit;
	}
	}


	ath9k_process_rssi(common, hw, hdr, rx_stats);
	ath9k_process_rssi(common, hw, rx_stats);


	rx_status->band = hw->conf.chandef.chan->band;
	rx_status->band = hw->conf.chandef.chan->band;
	rx_status->freq = hw->conf.chandef.chan->center_freq;
	rx_status->freq = hw->conf.chandef.chan->center_freq;