mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
mmc: sd: Remove redundant err assignment from mmc_read_switch
Variable err would be firstly initialized by the return value of mmc_sd_switch(). Signed-off-by: Shawn Lin <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
This commit is contained in:
parent
1e178270df
commit
3715ce57f4
1 changed files with 0 additions and 2 deletions
|
|
@ -291,8 +291,6 @@ static int mmc_read_switch(struct mmc_card *card)
|
|||
return 0;
|
||||
}
|
||||
|
||||
err = -EIO;
|
||||
|
||||
status = kmalloc(64, GFP_KERNEL);
|
||||
if (!status)
|
||||
return -ENOMEM;
|
||||
|
|
|
|||
Loading…
Reference in a new issue