mmc: block: remove unused struct mmc_card *card
authorShawn Lin <shawn.lin@rock-chips.com>
Thu, 6 Jul 2017 08:26:55 +0000 (16:26 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:28 +0000 (14:01 +0200)
commit292876ef567518cbfc45b446298458c8b9ce7cb7
treee88ab5b7e85dddee8570904427c743e4019471d7
parent09954ea9b6d4390555b71b30c5c3b82b6c679cf3
mmc: block: remove unused struct mmc_card *card

It was never used and introduced a long standing compile
warning:

drivers/mmc/core/block.c: In function 'power_ro_lock_store':
drivers/mmc/core/block.c:191:19: warning: variable 'card' set but not
used [-Wunused-but-set-variable]

Remove it to fix the warning.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/block.c