OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d1ffc8
)
mmc: sd: Remove superfluous error code assignment
author
Yousong Zhou
<yszhou4tech@gmail.com>
Wed, 9 Sep 2015 16:33:16 +0000
(
00:33
+0800)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 26 Oct 2015 14:59:53 +0000
(15:59 +0100)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/sd.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/core/sd.c
b/drivers/mmc/core/sd.c
index
4e7366a
..
e28ebf3
100644
(file)
--- 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 "