summaryrefslogtreecommitdiff
path: root/drivers/staging/rt3070/2870_main_dev.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-04-26 18:05:06 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-19 22:00:43 +0400
commite554fb2f82ef2b358c688830b6605ba63cdf0d5d (patch)
tree75291ca7a094d5cc1faebd79a3f703ac1d95b256 /drivers/staging/rt3070/2870_main_dev.c
parent9ab6d90b80c446d961f4ab7ced8b6329dea4fe66 (diff)
downloadlinux-e554fb2f82ef2b358c688830b6605ba63cdf0d5d.tar.xz
Staging: rt3070: 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/rt3070/2870_main_dev.c')
-rw-r--r--drivers/staging/rt3070/2870_main_dev.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/rt3070/2870_main_dev.c b/drivers/staging/rt3070/2870_main_dev.c
index 2acda3e07d13..7150373ff521 100644
--- a/drivers/staging/rt3070/2870_main_dev.c
+++ b/drivers/staging/rt3070/2870_main_dev.c
@@ -53,11 +53,6 @@ MODULE_VERSION(STA_DRIVER_VERSION);
#endif
#endif // CONFIG_STA_SUPPORT //
-#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 //
-
/* Kernel thread and vars, which handles packets that are completed. Only
* packets that have a "complete" function are sent here. This way, the
* completion is run out of kernel context, and doesn't block the rest of
@@ -782,11 +777,6 @@ static void _rtusb_disconnect(struct usb_device *dev, PRTMP_ADAPTER pAd)
dev->bus->bus_name, dev->devpath));
if (!pAd)
{
-#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 //
-
usb_put_dev(dev);
printk("rtusb_disconnect: pAd == NULL!\n");