diff options
author | Joe Perches <joe@perches.com> | 2013-09-23 11:37:59 -0700 |
---|---|---|
committer | Joe Perches <joe@perches.com> | 2013-09-24 18:05:40 -0700 |
commit | b3818394ccdf68d834ca1060c1d5a1fc44e2daee (patch) | |
tree | 2e16f25c6a813152e312022a534a8b79734a546c /drivers/net/wireless/iwlwifi/dvm/rs.h | |
parent | 6890ba72f5e1061261e26e04dcb936da4d10a1b1 (diff) | |
download | op-kernel-dev-b3818394ccdf68d834ca1060c1d5a1fc44e2daee.zip op-kernel-dev-b3818394ccdf68d834ca1060c1d5a1fc44e2daee.tar.gz |
iwlwifi: Remove extern from function prototypes
There are a mix of function prototypes with and without extern
in the kernel sources. Standardize on not using extern for
function prototypes.
Function prototypes don't need to be written with extern.
extern is assumed by the compiler. Its use is as unnecessary as
using auto to declare automatic/local variables in a block.
Signed-off-by: Joe Perches <joe@perches.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/dvm/rs.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/rs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/dvm/rs.h b/drivers/net/wireless/iwlwifi/dvm/rs.h index 5d83cab..26fc550 100644 --- a/drivers/net/wireless/iwlwifi/dvm/rs.h +++ b/drivers/net/wireless/iwlwifi/dvm/rs.h @@ -407,8 +407,8 @@ static inline u8 first_antenna(u8 mask) /* Initialize station's rate scaling information after adding station */ -extern void iwl_rs_rate_init(struct iwl_priv *priv, - struct ieee80211_sta *sta, u8 sta_id); +void iwl_rs_rate_init(struct iwl_priv *priv, struct ieee80211_sta *sta, + u8 sta_id); /** * iwl_rate_control_register - Register the rate control algorithm callbacks @@ -420,7 +420,7 @@ extern void iwl_rs_rate_init(struct iwl_priv *priv, * ieee80211_register_hw * */ -extern int iwlagn_rate_control_register(void); +int iwlagn_rate_control_register(void); /** * iwl_rate_control_unregister - Unregister the rate control callbacks @@ -428,6 +428,6 @@ extern int iwlagn_rate_control_register(void); * This should be called after calling ieee80211_unregister_hw, but before * the driver is unloaded. */ -extern void iwlagn_rate_control_unregister(void); +void iwlagn_rate_control_unregister(void); #endif /* __iwl_agn__rs__ */ |