mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
mmc: sd: Remove superfluous error code assignment
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
8d1ffc8c98
commit
bf8b8511af
1 changed files with 0 additions and 2 deletions
|
@ -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 "
|
||||
|
|
Loading…
Reference in a new issue