You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
eb8329c6b3
commit
78a729ff16
@@ -70,20 +70,3 @@ u32 rtw_ch2freq(u32 channel)
|
|||||||
|
|
||||||
return freq;
|
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;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -140,7 +140,6 @@ enum rt_rf_type_def {
|
|||||||
};
|
};
|
||||||
|
|
||||||
u32 rtw_ch2freq(u32 ch);
|
u32 rtw_ch2freq(u32 ch);
|
||||||
u32 rtw_freq2ch(u32 freq);
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* _RTL8711_RF_H_ */
|
#endif /* _RTL8711_RF_H_ */
|
||||||
|
|||||||
Reference in New Issue
Block a user