Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 930d50f7 authored by Dan Carpenter's avatar Dan Carpenter Committed by Ulf Hansson
Browse files

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarLudovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 14a7b416
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -111,7 +111,6 @@ static int sdhci_at91_probe(struct platform_device *pdev)
	if (ret < 0) {
		dev_err(&pdev->dev, "failed to set gck");
		goto hclock_disable_unprepare;
		return -EINVAL;
	}
	/*
	 * We need to check if we have the requested rate for gck because in