diff options
author | Michael Straube <straube.linux@gmail.com> | 2018-07-25 22:37:57 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-29 11:08:03 +0300 |
commit | c60b03effc26a392107992cbc99c7d7e381c8f20 (patch) | |
tree | cf0b5df8e8a1769da8edeeb8ed58587878976970 /drivers/staging/rtl8188eu/core | |
parent | b045b429151c40a00fece3318fcab4c5f9ab5ebc (diff) | |
download | linux-c60b03effc26a392107992cbc99c7d7e381c8f20.tar.xz |
staging: rtl8188eu: remove unused rtw_get_oper_bw()
The function rtw_get_oper_bw() is never used, so remove it.
Discovered by cppcheck.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/core')
-rw-r--r-- | drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_wlan_util.c b/drivers/staging/rtl8188eu/core/rtw_wlan_util.c index 474aa9dcf39d..ab97fcdd6481 100644 --- a/drivers/staging/rtl8188eu/core/rtw_wlan_util.c +++ b/drivers/staging/rtl8188eu/core/rtw_wlan_util.c @@ -298,11 +298,6 @@ inline void rtw_set_oper_ch(struct adapter *adapter, u8 ch) adapter->mlmeextpriv.oper_channel = ch; } -inline u8 rtw_get_oper_bw(struct adapter *adapter) -{ - return adapter->mlmeextpriv.oper_bwmode; -} - inline void rtw_set_oper_bw(struct adapter *adapter, u8 bw) { adapter->mlmeextpriv.oper_bwmode = bw; |