aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/sdio.c
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2016-03-12 00:35:45 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2016-03-17 14:54:41 +0100
commit0076c71e37cc9f3f0b1c0c83f9f26f31a47222b0 (patch)
tree01cee97c93c9e0b6c1866474d4f0a48b113f7c16 /drivers/mmc/core/sdio.c
parentmmc: of_mmc_spi: fix unused warning (diff)
downloadlinux-dev-0076c71e37cc9f3f0b1c0c83f9f26f31a47222b0.tar.xz
linux-dev-0076c71e37cc9f3f0b1c0c83f9f26f31a47222b0.zip
mmc: core: remove redundant memset of mmc_decode_cid
When initializing sd or sdio card, we get struct mmc_card from mmc_alloc_card which allocates it by kzalloc. So we don't need another memset while decoding cid. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/sdio.c')
0 files changed, 0 insertions, 0 deletions