From: Bartlomiej Zolnierkiewicz Date: Sat, 13 Jun 2009 16:33:17 +0000 (+0200) Subject: Staging: rtl8187se/ieee80211: remove unused dump_chnl_map() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8f75675c3a99c91325f17bcc02651c4447d9fb81;p=openwrt%2Fstaging%2Fblogic.git Staging: rtl8187se/ieee80211: remove unused dump_chnl_map() Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8187se/ieee80211/dot11d.c b/drivers/staging/rtl8187se/ieee80211/dot11d.c index 54bcdcf1d330..9314632e9401 100644 --- a/drivers/staging/rtl8187se/ieee80211/dot11d.c +++ b/drivers/staging/rtl8187se/ieee80211/dot11d.c @@ -130,16 +130,6 @@ Dot11d_UpdateCountryIe( pDot11dInfo->State = DOT11D_STATE_LEARNED; } -void dump_chnl_map(u8 * channel_map) -{ - int i; - printk("Channel List:"); - for(i=1; i<= MAX_CHANNEL_NUMBER; i++) - if(channel_map[i] > 0) - printk(" %d(%d)", i, channel_map[i]); - printk("\n"); -} - u8 DOT11D_GetMaxTxPwrInDbm( struct ieee80211_device *dev, diff --git a/drivers/staging/rtl8187se/ieee80211/dot11d.h b/drivers/staging/rtl8187se/ieee80211/dot11d.h index 82576b519cc5..029c2cab1e00 100644 --- a/drivers/staging/rtl8187se/ieee80211/dot11d.h +++ b/drivers/staging/rtl8187se/ieee80211/dot11d.h @@ -97,6 +97,4 @@ int ToLegalChannel( struct ieee80211_device * dev, u8 channel ); - -void dump_chnl_map(u8 * channel_map); #endif // #ifndef __INC_DOT11D_H diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c index e5816496cff7..9fcc24601d79 100644 --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c +++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c @@ -449,7 +449,6 @@ void ieee80211_softmac_scan_syncro(struct ieee80211_device *ieee) #endif down(&ieee->scan_sem); // printk("==================> Sync scan\n"); -// dump_chnl_map(channel_map); while(1) {