diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c index 5f14fd00f87f..59451f8881aa 100644 --- a/drivers/staging/ks7010/ks7010_sdio.c +++ b/drivers/staging/ks7010/ks7010_sdio.c @@ -892,7 +892,6 @@ static int ks7010_sdio_probe(struct sdio_func *func, return -ENOMEM; card->func = func; - spin_lock_init(&card->lock); /*** Initialize SDIO ***/ sdio_claim_host(func); diff --git a/drivers/staging/ks7010/ks7010_sdio.h b/drivers/staging/ks7010/ks7010_sdio.h index d1d16faf0fc9..c01a0207f2c1 100644 --- a/drivers/staging/ks7010/ks7010_sdio.h +++ b/drivers/staging/ks7010/ks7010_sdio.h @@ -98,7 +98,6 @@ struct hw_info_t { struct ks_sdio_card { struct sdio_func *func; struct ks_wlan_private *priv; - spinlock_t lock; }; /* Tx Device struct */