Staging: rtl8187se/ieee80211: remove unused dump_chnl_map()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 13 Jun 2009 16:33:17 +0000 (18:33 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:28 +0000 (12:01 -0700)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8187se/ieee80211/dot11d.c
drivers/staging/rtl8187se/ieee80211/dot11d.h
drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c

index 54bcdcf1d330f1b5e60d7793743f2ad5e8fb4c12..9314632e940169fccc46a765f2d63b866e512967 100644 (file)
@@ -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,
index 82576b519cc5d9b39a121f271f01d57b7697e0de..029c2cab1e0093d6779027a72870babcc958f7d8 100644 (file)
@@ -97,6 +97,4 @@ int ToLegalChannel(
        struct ieee80211_device * dev,
        u8 channel
 );
-
-void dump_chnl_map(u8 * channel_map);
 #endif // #ifndef __INC_DOT11D_H
index e5816496cff75f1d195caabd6ad7dec268045624..9fcc24601d7970e91a9682c6c08bb62ff802075a 100644 (file)
@@ -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)
        {