diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2016-03-11 15:53:56 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-11 22:09:09 -0800 |
commit | 78a729ff16ebc35db143980d660a3df4b0e2792d (patch) | |
tree | d601d900e9b446e79d18fe04f1f92e789f408be5 /drivers/staging/rtl8188eu/core | |
parent | eb8329c6b39db6bc52c43265fb0c41367d99a6d2 (diff) | |
download | op-kernel-dev-78a729ff16ebc35db143980d660a3df4b0e2792d.zip op-kernel-dev-78a729ff16ebc35db143980d660a3df4b0e2792d.tar.gz |
Staging: rtl8188eu: Remove function rtw_freq2ch
Remove function rtw_freq2ch as it is never used anywhere in the kernel.
Also, remove the function prototype.
Signed-off-by: Bhumika Goyal <bhumirks@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_rf.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_rf.c b/drivers/staging/rtl8188eu/core/rtw_rf.c index 6983c57..4ad2d8f 100644 --- a/drivers/staging/rtl8188eu/core/rtw_rf.c +++ b/drivers/staging/rtl8188eu/core/rtw_rf.c @@ -70,20 +70,3 @@ u32 rtw_ch2freq(u32 channel) return freq; } - -u32 rtw_freq2ch(u32 freq) -{ - u8 i; - u32 ch = 0; - - for (i = 0; i < ch_freq_map_num; i++) { - if (freq == ch_freq_map[i].frequency) { - ch = ch_freq_map[i].channel; - break; - } - } - if (i == ch_freq_map_num) - ch = 1; - - return ch; -} |