diff options
author | Joe Perches <joe@perches.com> | 2013-09-23 20:37:59 +0200 |
---|---|---|
committer | Joe Perches <joe@perches.com> | 2013-09-25 03:06:51 +0200 |
commit | a958df5dc3065ce517726dc54087639e13ffee8f (patch) | |
tree | c3f080ef4262604f3aaa209dc6420dab68a2f311 /drivers/net/wireless/rtlwifi/rtl8192de/hw.h | |
parent | orinoco: Remove extern from function prototypes (diff) | |
download | linux-a958df5dc3065ce517726dc54087639e13ffee8f.tar.xz linux-a958df5dc3065ce517726dc54087639e13ffee8f.zip |
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>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192de/hw.h')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192de/hw.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192de/hw.h b/drivers/net/wireless/rtlwifi/rtl8192de/hw.h index 7c9f7a2f1e42..1bc7b1a96d4a 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192de/hw.h +++ b/drivers/net/wireless/rtlwifi/rtl8192de/hw.h @@ -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); |