Commit 6d999c47 authored by Michael Straube's avatar Michael Straube Committed by Greg Kroah-Hartman
Browse files

staging: r8188eu: remove rtw_freq2ch()

parent 548b78fe
Loading
Loading
Loading
Loading
+0 −17
Original line number Diff line number Diff line
@@ -53,20 +53,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;
}
+0 −1
Original line number Diff line number Diff line
@@ -121,6 +121,5 @@ enum rt_rf_type_def {
};

u32 rtw_ch2freq(u32 ch);
u32 rtw_freq2ch(u32 freq);

#endif /* _RTL8711_RF_H_ */