diff options
author | Tobin C. Harding <me@tobin.cc> | 2017-09-05 16:53:44 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-17 16:35:26 +0200 |
commit | f216f6cdeb1d4180d4c41f4b1e62857bf0a13043 (patch) | |
tree | 2ec1c5b477960cbd31d1d5c443e5062471a02771 /drivers/staging/rtlwifi/core.h | |
parent | 85d309d53f7a6ecbe227a43c1aa2fdc31e2edd00 (diff) | |
download | op-kernel-dev-f216f6cdeb1d4180d4c41f4b1e62857bf0a13043.zip op-kernel-dev-f216f6cdeb1d4180d4c41f4b1e62857bf0a13043.tar.gz |
staging: rtlwifi: remove unused functions
Functions rtl_rfreg_delay() and rtl_bb_delay() are unused within the
driver. Both functions call rtl_addr_delay(), this function is unused
outside of these call sites.The driver (and kernel) code base is cleaner
if unused functions are removed.
Remove unused functions.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtlwifi/core.h')
-rw-r--r-- | drivers/staging/rtlwifi/core.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/rtlwifi/core.h b/drivers/staging/rtlwifi/core.h index 782ac2f..4c2b694 100644 --- a/drivers/staging/rtlwifi/core.h +++ b/drivers/staging/rtlwifi/core.h @@ -75,10 +75,6 @@ enum dm_dig_connect_e { extern const struct ieee80211_ops rtl_ops; void rtl_fw_cb(const struct firmware *firmware, void *context); void rtl_wowlan_fw_cb(const struct firmware *firmware, void *context); -void rtl_addr_delay(u32 addr); -void rtl_rfreg_delay(struct ieee80211_hw *hw, enum radio_path rfpath, u32 addr, - u32 mask, u32 data); -void rtl_bb_delay(struct ieee80211_hw *hw, u32 addr, u32 data); bool rtl_cmd_send_packet(struct ieee80211_hw *hw, struct sk_buff *skb); bool rtl_btc_status_false(void); void rtl_dm_diginit(struct ieee80211_hw *hw, u32 cur_igval); |