rtlwifi: 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>
This commit is contained in:
@@ -55,10 +55,9 @@ void rtl92de_set_key(struct ieee80211_hw *hw, u32 key_index,
|
||||
u8 *p_macaddr, bool is_group, u8 enc_algo,
|
||||
bool is_wepkey, bool clear_all);
|
||||
|
||||
extern void rtl92de_write_dword_dbi(struct ieee80211_hw *hw, u16 offset,
|
||||
u32 value, u8 direct);
|
||||
extern u32 rtl92de_read_dword_dbi(struct ieee80211_hw *hw, u16 offset,
|
||||
u8 direct);
|
||||
void rtl92de_write_dword_dbi(struct ieee80211_hw *hw, u16 offset, u32 value,
|
||||
u8 direct);
|
||||
u32 rtl92de_read_dword_dbi(struct ieee80211_hw *hw, u16 offset, u8 direct);
|
||||
void rtl92de_suspend(struct ieee80211_hw *hw);
|
||||
void rtl92de_resume(struct ieee80211_hw *hw);
|
||||
void rtl92d_linked_set_reg(struct ieee80211_hw *hw);
|
||||
|
Reference in New Issue
Block a user