diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-02-12 15:47:44 -0500 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-02-13 06:49:44 -0500 |
commit | 4ed735e7599e60add8b04669a3ff6af69a31f769 (patch) | |
tree | d7b13a65976a6b4c6ed96a960ec999168b673ed5 /drivers/net/wireless/iwlwifi/iwl-fw.h | |
parent | 77db0a3c27dc0f027e5f3956f4ba77246c89a548 (diff) |
iwlwifi: remove iwl_fw_valid_(tx|rx)_ant inlines
These inlines are pretty pointless now as they just return a
fixed struct value, remove them - the code even gets shorter.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Eran Harary <eran.harary@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-fw.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-fw.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-fw.h b/drivers/net/wireless/iwlwifi/iwl-fw.h index 73671072d0f6..af6b4528d499 100644 --- a/drivers/net/wireless/iwlwifi/iwl-fw.h +++ b/drivers/net/wireless/iwlwifi/iwl-fw.h | |||
@@ -296,14 +296,4 @@ struct iwl_fw { | |||
296 | struct ieee80211_cipher_scheme cs[IWL_UCODE_MAX_CS]; | 296 | struct ieee80211_cipher_scheme cs[IWL_UCODE_MAX_CS]; |
297 | }; | 297 | }; |
298 | 298 | ||
299 | static inline u8 iwl_fw_valid_tx_ant(const struct iwl_fw *fw) | ||
300 | { | ||
301 | return fw->valid_tx_ant; | ||
302 | } | ||
303 | |||
304 | static inline u8 iwl_fw_valid_rx_ant(const struct iwl_fw *fw) | ||
305 | { | ||
306 | return fw->valid_rx_ant; | ||
307 | } | ||
308 | |||
309 | #endif /* __iwl_fw_h__ */ | 299 | #endif /* __iwl_fw_h__ */ |