diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2008-08-25 22:41:26 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-29 16:24:10 -0400 |
commit | 5701ed843ea87bf8a1d2c4dee5edcb463558db4a (patch) | |
tree | ee11d2ae4cb677f8905b3ca49f384284fde79e8d /drivers/net/wireless/ath9k/rc.c | |
parent | 1fe1132bad8e98fa34cfb4a3901340d1214b95d7 (diff) |
ath9k: rc.h cleanup
Use kernel doc syntax for comments and remove a few unused macros.
Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/rc.c')
-rw-r--r-- | drivers/net/wireless/ath9k/rc.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/wireless/ath9k/rc.c b/drivers/net/wireless/ath9k/rc.c index 1dd7c71daf0a..390019ed398e 100644 --- a/drivers/net/wireless/ath9k/rc.c +++ b/drivers/net/wireless/ath9k/rc.c | |||
@@ -1141,14 +1141,14 @@ static void ath_rc_ratefind(struct ath_softc *sc, | |||
1141 | /* | 1141 | /* |
1142 | * Return the Tx rate series. | 1142 | * Return the Tx rate series. |
1143 | */ | 1143 | */ |
1144 | void ath_rate_findrate(struct ath_softc *sc, | 1144 | static void ath_rate_findrate(struct ath_softc *sc, |
1145 | struct ath_rate_node *ath_rc_priv, | 1145 | struct ath_rate_node *ath_rc_priv, |
1146 | int num_tries, | 1146 | int num_tries, |
1147 | int num_rates, | 1147 | int num_rates, |
1148 | unsigned int rcflag, | 1148 | unsigned int rcflag, |
1149 | struct ath_rc_series series[], | 1149 | struct ath_rc_series series[], |
1150 | int *is_probe, | 1150 | int *is_probe, |
1151 | int is_retry) | 1151 | int is_retry) |
1152 | { | 1152 | { |
1153 | struct ath_vap *avp = ath_rc_priv->avp; | 1153 | struct ath_vap *avp = ath_rc_priv->avp; |
1154 | 1154 | ||
@@ -1942,7 +1942,7 @@ static void ath_get_rate(void *priv, struct net_device *dev, | |||
1942 | struct ath_rate_node *ath_rc_priv; | 1942 | struct ath_rate_node *ath_rc_priv; |
1943 | struct ath_node *an; | 1943 | struct ath_node *an; |
1944 | struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); | 1944 | struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); |
1945 | int is_probe, chk, ret; | 1945 | int is_probe = FALSE, chk, ret; |
1946 | s8 lowest_idx; | 1946 | s8 lowest_idx; |
1947 | __le16 fc = hdr->frame_control; | 1947 | __le16 fc = hdr->frame_control; |
1948 | u8 *qc, tid; | 1948 | u8 *qc, tid; |