summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/4965.h
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2011-12-23 08:13:45 +0100
committerJohn W. Linville <linville@tuxdriver.com>2012-01-04 14:30:44 -0500
commit616107ed818876076bc482d3a33f89c31297b86e (patch)
treeb2888035059c7aae1e24b30f5d1509214f0db377 /drivers/net/wireless/iwlegacy/4965.h
parenta0c1ef3b12f88c0ed7683472395145e491808b4b (diff)
iwlegacy: 4965: small tx_cmd build cleanup
Get rid of two inline functions related and simplify a bit rts_retry_limit calculations. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/4965.h')
-rw-r--r--drivers/net/wireless/iwlegacy/4965.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlegacy/4965.h b/drivers/net/wireless/iwlegacy/4965.h
index ca254aa4fd3..f280e0161b1 100644
--- a/drivers/net/wireless/iwlegacy/4965.h
+++ b/drivers/net/wireless/iwlegacy/4965.h
@@ -167,12 +167,6 @@ il4965_hw_get_rate(__le32 rate_n_flags)
return le32_to_cpu(rate_n_flags) & 0xFF;
}
-static inline __le32
-il4965_hw_set_rate_n_flags(u8 rate, u32 flags)
-{
- return cpu_to_le32(flags | (u32) rate);
-}
-
/* eeprom */
void il4965_eeprom_get_mac(const struct il_priv *il, u8 * mac);
int il4965_eeprom_acquire_semaphore(struct il_priv *il);