Staging: rt3070: remove unused RT_CMD_SET_* internal commands
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 23 Aug 2009 13:31:34 +0000 (15:31 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:23 +0000 (12:02 -0700)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt2870/common/rtusb_io.c
drivers/staging/rt2870/rt2870.h

index 7acfdf88313813287980b5b5c13458073a28a71c..ff311e90772325b5983bf1c69b3e5381304abb13 100644 (file)
@@ -1732,39 +1732,6 @@ VOID CMDHandler(
                                                }
                                        }
                                        break;
-
-#ifdef RT30xx
-//Benson modified for USB interface, avoid in interrupt when write key, 20080724 -->
-                               case RT_CMD_SET_KEY_TABLE: //General call for AsicAddPairwiseKeyEntry()
-                               {
-                                       RT_ADD_PAIRWISE_KEY_ENTRY KeyInfo;
-                                       KeyInfo = *((PRT_ADD_PAIRWISE_KEY_ENTRY)(pData));
-                                       AsicAddPairwiseKeyEntry(pAd,
-                                                                                       KeyInfo.MacAddr,
-                                                                                       (UCHAR)KeyInfo.MacTabMatchWCID,
-                                                                                       &KeyInfo.CipherKey);
-                               }
-                                       break;
-                               case RT_CMD_SET_RX_WCID_TABLE: //General call for RTMPAddWcidAttributeEntry()
-                               {
-                                       PMAC_TABLE_ENTRY pEntry;
-                                       UCHAR KeyIdx = 0;
-                                       UCHAR CipherAlg = 0;
-                                       UCHAR ApIdx = 0;
-
-                                       pEntry = (PMAC_TABLE_ENTRY)(pData);
-
-                                               RTMPAddWcidAttributeEntry(
-                                                                                 pAd,
-                                                                                 ApIdx,
-                                                                                 KeyIdx,
-                                                                                 CipherAlg,
-                                                                                 pEntry);
-                                       }
-                                               break;
-//Benson modified for USB interface, avoid in interrupt when write key, 20080724 <--
-#endif
-
                                case CMDTHREAD_SET_CLIENT_MAC_ENTRY:
                                        {
                                                MAC_TABLE_ENTRY *pEntry;
index 04508c222e91f90aeec4050431608ed71305f1dc..1261764e87aef696e4042f24487c80e3ad011307 100644 (file)
@@ -573,8 +573,6 @@ typedef     struct  _CMDHandler_TLV {
 #define CMDTHREAD_SET_ASIC_WCID                     0x0D730226 // cmd
 #define CMDTHREAD_SET_ASIC_WCID_CIPHER              0x0D730227 // cmd
 #define CMDTHREAD_QKERIODIC_EXECUT                  0x0D73023D // cmd
-#define RT_CMD_SET_KEY_TABLE                        0x0D730228  // cmd
-#define RT_CMD_SET_RX_WCID_TABLE                    0x0D730229  // cmd
 #define CMDTHREAD_SET_CLIENT_MAC_ENTRY              0x0D73023E // cmd
 #define CMDTHREAD_802_11_QUERY_HARDWARE_REGISTER    0x0D710105 // cmd
 #define CMDTHREAD_802_11_SET_PHY_MODE               0x0D79010C // cmd