mmc: core: remove redundant memset of mmc_decode_cid
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 11 Mar 2016 16:35:45 +0000 (00:35 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 17 Mar 2016 13:54:41 +0000 (14:54 +0100)
commit0076c71e37cc9f3f0b1c0c83f9f26f31a47222b0
tree01cee97c93c9e0b6c1866474d4f0a48b113f7c16
parent96466fcb6c2a19da5c7abe38433688a5b73648c1
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>
drivers/mmc/core/sd.c