aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rt2860/2860_main_dev.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-04-26 16:05:03 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-19 11:00:43 -0700
commit72888d31af50c4e8c2732ffd557655444bf9c8a2 (patch)
treed4147be6da4a10277ec6d4aa86a48d8084ef1abc /drivers/staging/rt2860/2860_main_dev.c
parentStaging: rt3070: remove dead CARRIER_DETECTION_SUPPORT code (diff)
downloadlinux-dev-72888d31af50c4e8c2732ffd557655444bf9c8a2.tar.xz
linux-dev-72888d31af50c4e8c2732ffd557655444bf9c8a2.zip
Staging: rt2860: remove dead MULTIPLE_CARD_SUPPORT code
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rt2860/2860_main_dev.c')
-rw-r--r--drivers/staging/rt2860/2860_main_dev.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/staging/rt2860/2860_main_dev.c b/drivers/staging/rt2860/2860_main_dev.c
index ff7f83380736..4f39fcbbf2e4 100644
--- a/drivers/staging/rt2860/2860_main_dev.c
+++ b/drivers/staging/rt2860/2860_main_dev.c
@@ -37,13 +37,6 @@
#include "rt_config.h"
-
-#ifdef MULTIPLE_CARD_SUPPORT
-// record whether the card in the card list is used in the card file
-extern UINT8 MC_CardUsed[];
-#endif // MULTIPLE_CARD_SUPPORT //
-
-
extern INT __devinit rt28xx_probe(IN void *_dev_p, IN void *_dev_id_p,
IN UINT argc, OUT PRTMP_ADAPTER *ppAd);
@@ -328,14 +321,6 @@ static VOID __devexit rt2860_remove_one(
if (pAd != NULL)
{
-#ifdef MULTIPLE_CARD_SUPPORT
- if ((pAd->MC_RowID >= 0) && (pAd->MC_RowID <= MAX_NUM_OF_MULTIPLE_CARD))
- MC_CardUsed[pAd->MC_RowID] = 0; // not clear MAC address
-#endif // MULTIPLE_CARD_SUPPORT //
-
-
-
-
// Unregister network device
unregister_netdev(net_dev);