staging: brcm80211: remove iovars IOV_HISPEED
authorFranky Lin <frankyl@broadcom.com>
Wed, 1 Jun 2011 11:45:05 +0000 (13:45 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 19:36:49 +0000 (12:36 -0700)
Remove unused sdio related iovars IOV_HISPEED for fullmac driver

Signed-off-by: Franky Lin <frankyl@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/bcmsdh_linux.c
drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c

index 789922b41770b90beab585544fb9b9369bd18a0a..e57dd0039c2d360dfbcc54392c5b83684f76ba38 100644 (file)
@@ -365,8 +365,5 @@ void bcmsdh_unregister_oob_intr(void)
 extern uint sd_msglevel;       /* Debug message level */
 module_param(sd_msglevel, uint, 0);
 
-extern uint sd_hiok;           /* Ok to use hi-speed mode */
-module_param(sd_hiok, uint, 0);
-
 extern uint sd_f2_blocksize;
 module_param(sd_f2_blocksize, int, 0);
index 2422890582905e7698046c21a69878c9406a68d6..cc4738a4ae24fc2b6c070c51c832ae51e9ee2cc0 100644 (file)
@@ -47,7 +47,6 @@ extern PBCMSDH_SDMMC_INSTANCE gInstance;
 
 uint sd_f2_blocksize = 512;    /* Default blocksize */
 
-uint sd_hiok = false;          /* Don't use hi-speed mode by default */
 uint sd_msglevel = 0x01;
 DHD_PM_RESUME_WAIT_INIT(sdioh_request_byte_wait);
 DHD_PM_RESUME_WAIT_INIT(sdioh_request_word_wait);
@@ -349,7 +348,6 @@ enum {
        IOV_USEINTS,
        IOV_NUMINTS,
        IOV_DEVREG,
-       IOV_HISPEED,
        IOV_HCIREGS,
        IOV_RXCHAIN
 };
@@ -362,8 +360,6 @@ const bcm_iovar_t sdioh_iovars[] = {
        {"sd_numints", IOV_NUMINTS, 0, IOVT_UINT32, 0},
        {"sd_devreg", IOV_DEVREG, 0, IOVT_BUFFER, sizeof(sdreg_t)}
        ,
-       {"sd_highspeed", IOV_HISPEED, 0, IOVT_UINT32, 0}
-       ,
        {"sd_rxchain", IOV_RXCHAIN, 0, IOVT_BOOL, 0}
        ,
        {NULL, 0, 0, 0, 0}
@@ -494,15 +490,6 @@ sdioh_iovar_op(sdioh_info_t *si, const char *name,
 
                break;
 
-       case IOV_GVAL(IOV_HISPEED):
-               int_val = (u32) sd_hiok;
-               memcpy(arg, &int_val, val_size);
-               break;
-
-       case IOV_SVAL(IOV_HISPEED):
-               sd_hiok = int_val;
-               break;
-
        case IOV_GVAL(IOV_NUMINTS):
                int_val = (s32) si->intrcount;
                memcpy(arg, &int_val, val_size);