Commit 404b3286 authored by Franky Lin's avatar Franky Lin Committed by Greg Kroah-Hartman

staging: brcm80211: remove iovars IOV_BLOCKMODE

Remove unused sdio related iovars IOV_BLCOKMODE for fullmac driver
Signed-off-by: default avatarFranky Lin <frankyl@broadcom.com>
Reviewed-by: default avatarRoland Vossen <rvossen@broadcom.com>
Reviewed-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 85d63686
...@@ -138,7 +138,6 @@ sdioh_info_t *sdioh_attach(void *bar0, uint irq) ...@@ -138,7 +138,6 @@ sdioh_info_t *sdioh_attach(void *bar0, uint irq)
} }
sd->num_funcs = 2; sd->num_funcs = 2;
sd->sd_blockmode = true;
sd->use_client_ints = true; sd->use_client_ints = true;
sd->client_block_size[0] = 64; sd->client_block_size[0] = 64;
...@@ -352,7 +351,6 @@ uint sdioh_query_iofnum(sdioh_info_t *sd) ...@@ -352,7 +351,6 @@ uint sdioh_query_iofnum(sdioh_info_t *sd)
/* IOVar table */ /* IOVar table */
enum { enum {
IOV_MSGLEVEL = 1, IOV_MSGLEVEL = 1,
IOV_BLOCKMODE,
IOV_BLOCKSIZE, IOV_BLOCKSIZE,
IOV_DMA, IOV_DMA,
IOV_USEINTS, IOV_USEINTS,
...@@ -371,7 +369,6 @@ enum { ...@@ -371,7 +369,6 @@ enum {
const bcm_iovar_t sdioh_iovars[] = { const bcm_iovar_t sdioh_iovars[] = {
{"sd_msglevel", IOV_MSGLEVEL, 0, IOVT_UINT32, 0}, {"sd_msglevel", IOV_MSGLEVEL, 0, IOVT_UINT32, 0},
{"sd_blockmode", IOV_BLOCKMODE, 0, IOVT_BOOL, 0},
{"sd_blocksize", IOV_BLOCKSIZE, 0, IOVT_UINT32, 0},/* ((fn << 16) | {"sd_blocksize", IOV_BLOCKSIZE, 0, IOVT_UINT32, 0},/* ((fn << 16) |
size) */ size) */
{"sd_dma", IOV_DMA, 0, IOVT_BOOL, 0}, {"sd_dma", IOV_DMA, 0, IOVT_BOOL, 0},
...@@ -457,16 +454,6 @@ sdioh_iovar_op(sdioh_info_t *si, const char *name, ...@@ -457,16 +454,6 @@ sdioh_iovar_op(sdioh_info_t *si, const char *name,
sd_msglevel = int_val; sd_msglevel = int_val;
break; break;
case IOV_GVAL(IOV_BLOCKMODE):
int_val = (s32) si->sd_blockmode;
memcpy(arg, &int_val, val_size);
break;
case IOV_SVAL(IOV_BLOCKMODE):
si->sd_blockmode = (bool) int_val;
/* Haven't figured out how to make non-block mode with DMA */
break;
case IOV_GVAL(IOV_BLOCKSIZE): case IOV_GVAL(IOV_BLOCKSIZE):
if ((u32) int_val > si->num_funcs) { if ((u32) int_val > si->num_funcs) {
bcmerror = -EINVAL; bcmerror = -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment