mmc: core: remove redundant memset of sdio_read_cccr
authorShawn Lin <shawn.lin@rock-chips.com>
Mon, 14 Mar 2016 04:41:33 +0000 (12:41 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 17 Mar 2016 13:54:41 +0000 (14:54 +0100)
commita0747eb81c1d106b1408d60452af75cd17a67621
tree0ef2dff51fcdcae5998779f8168e61bfe27cd859
parent0076c71e37cc9f3f0b1c0c83f9f26f31a47222b0
mmc: core: remove redundant memset of sdio_read_cccr

When initializing sdio card, we get struct mmc_card
from mmc_alloc_card which allocates it by kzalloc. So we
don't need another memset while reading cccr.

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