mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 23:24:50 +00:00
mmc: sdhci-of-at91: remove a line of dead code
The goto is correct and the unreachable "return -EINVAL" should be removed. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
14a7b41643
commit
930d50f7fd
1 changed files with 0 additions and 1 deletions
|
@ -111,7 +111,6 @@ static int sdhci_at91_probe(struct platform_device *pdev)
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
dev_err(&pdev->dev, "failed to set gck");
|
dev_err(&pdev->dev, "failed to set gck");
|
||||||
goto hclock_disable_unprepare;
|
goto hclock_disable_unprepare;
|
||||||
return -EINVAL;
|
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* We need to check if we have the requested rate for gck because in
|
* We need to check if we have the requested rate for gck because in
|
||||||
|
|
Loading…
Reference in a new issue