diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-04-26 10:05:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-19 14:00:43 -0400 |
commit | 9ab6d90b80c446d961f4ab7ced8b6329dea4fe66 (patch) | |
tree | 431b4700ecacbb287bd066f6d48e94a7deef331c /drivers/staging/rt2870/2870_main_dev.c | |
parent | 72888d31af50c4e8c2732ffd557655444bf9c8a2 (diff) |
Staging: rt2870: 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/rt2870/2870_main_dev.c')
-rw-r--r-- | drivers/staging/rt2870/2870_main_dev.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/rt2870/2870_main_dev.c b/drivers/staging/rt2870/2870_main_dev.c index aa8f1e185bd..21a40276f7b 100644 --- a/drivers/staging/rt2870/2870_main_dev.c +++ b/drivers/staging/rt2870/2870_main_dev.c | |||
@@ -53,11 +53,6 @@ MODULE_VERSION(STA_DRIVER_VERSION); | |||
53 | #endif | 53 | #endif |
54 | #endif // CONFIG_STA_SUPPORT // | 54 | #endif // CONFIG_STA_SUPPORT // |
55 | 55 | ||
56 | #ifdef MULTIPLE_CARD_SUPPORT | ||
57 | // record whether the card in the card list is used in the card file | ||
58 | extern UINT8 MC_CardUsed[]; | ||
59 | #endif // MULTIPLE_CARD_SUPPORT // | ||
60 | |||
61 | /* Kernel thread and vars, which handles packets that are completed. Only | 56 | /* Kernel thread and vars, which handles packets that are completed. Only |
62 | * packets that have a "complete" function are sent here. This way, the | 57 | * packets that have a "complete" function are sent here. This way, the |
63 | * completion is run out of kernel context, and doesn't block the rest of | 58 | * completion is run out of kernel context, and doesn't block the rest of |
@@ -771,11 +766,6 @@ static void _rtusb_disconnect(struct usb_device *dev, PRTMP_ADAPTER pAd) | |||
771 | dev->bus->bus_name, dev->devpath)); | 766 | dev->bus->bus_name, dev->devpath)); |
772 | if (!pAd) | 767 | if (!pAd) |
773 | { | 768 | { |
774 | #ifdef MULTIPLE_CARD_SUPPORT | ||
775 | if ((pAd->MC_RowID >= 0) && (pAd->MC_RowID <= MAX_NUM_OF_MULTIPLE_CARD)) | ||
776 | MC_CardUsed[pAd->MC_RowID] = 0; // not clear MAC address | ||
777 | #endif // MULTIPLE_CARD_SUPPORT // | ||
778 | |||
779 | usb_put_dev(dev); | 769 | usb_put_dev(dev); |
780 | 770 | ||
781 | printk("rtusb_disconnect: pAd == NULL!\n"); | 771 | printk("rtusb_disconnect: pAd == NULL!\n"); |