Skip to content

Commit

Permalink
staging: brcm80211: remove iovars IOV_HISPEED
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Franky Lin authored and Greg Kroah-Hartman committed Jun 7, 2011
1 parent 602a8ab commit f13c6f2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
3 changes: 0 additions & 3 deletions drivers/staging/brcm80211/brcmfmac/bcmsdh_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
13 changes: 0 additions & 13 deletions drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -349,7 +348,6 @@ enum {
IOV_USEINTS,
IOV_NUMINTS,
IOV_DEVREG,
IOV_HISPEED,
IOV_HCIREGS,
IOV_RXCHAIN
};
Expand All @@ -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}
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit f13c6f2

Please sign in to comment.