diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2015-09-10 00:33:16 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-10-26 15:59:53 +0100 |
commit | bf8b8511af7721e6f81848a1fd1359716602f3b7 (patch) | |
tree | 4e92226aad5a2557f520992637a7c62defca756f | |
parent | 8d1ffc8c982e4480059ef735e8f15f631e40e80c (diff) | |
download | op-kernel-dev-bf8b8511af7721e6f81848a1fd1359716602f3b7.zip op-kernel-dev-bf8b8511af7721e6f81848a1fd1359716602f3b7.tar.gz |
mmc: sd: Remove superfluous error code assignment
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r-- | drivers/mmc/core/sd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c index 4e7366a..e28ebf3 100644 --- a/drivers/mmc/core/sd.c +++ b/drivers/mmc/core/sd.c @@ -357,8 +357,6 @@ int mmc_sd_switch_hs(struct mmc_card *card) if (card->sw_caps.hs_max_dtr == 0) return 0; - err = -EIO; - status = kmalloc(64, GFP_KERNEL); if (!status) { pr_err("%s: could not allocate a buffer for " |