From: Dan Carpenter Date: Wed, 16 Sep 2015 06:19:49 +0000 (+0300) Subject: mmc: sdhci-of-at91: remove a line of dead code X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=930d50f7fd49fe485d9126ffd26dcc0428d7920a;p=sagit-ice-cold%2Fkernel_xiaomi_msm8998.git 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 Acked-by: Ludovic Desroches Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/sdhci-of-at91.c b/drivers/mmc/host/sdhci-of-at91.c index a0f05de5409f..06d0b50dfe71 100644 --- a/drivers/mmc/host/sdhci-of-at91.c +++ b/drivers/mmc/host/sdhci-of-at91.c @@ -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