[PATCH] libertas: make more functions static & remove unused functions
Some functions where declared in header files, but used only once. They are now static functions. After doing this, I found out that some functions weren't used at all. I removed this dead code. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
David S. Miller
parent
c23a24f6ae
commit
ac558ca2ae
@@ -157,7 +157,7 @@ static struct chan_freq_power *find_cfp_by_band_and_freq(wlan_adapter * adapter,
|
||||
* @option Radio Option
|
||||
* @return 0 --success, otherwise fail
|
||||
*/
|
||||
int wlan_radio_ioctl(wlan_private * priv, u8 option)
|
||||
static int wlan_radio_ioctl(wlan_private * priv, u8 option)
|
||||
{
|
||||
int ret = 0;
|
||||
wlan_adapter *adapter = priv->adapter;
|
||||
|
Reference in New Issue
Block a user