mmc: sdhci-of-at91: remove a line of dead code
Subsystems (5)
PATCH 1/1 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 <[email protected]>
drivers/mmc/host/sdhci-of-at91.c +0 -1
@@ -110,7 +110,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
Quoted 4 lines · Dan Carpenter
The goto is correct and the unreachable "return
-EINVAL" should be removed.Signed-off-by Dan Carpenter <[email protected]>
Of course
Thanks
Quoted 13 lines
drivers/mmc/host/sdhci-of-at91.c +0
-1@@ -110,7 +110,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
Ulf Hansson
AppliedQuoted 4 lines · Dan Carpenter
The goto is correct and the unreachable "return
-EINVAL" should be removed.Signed-off-by Dan Carpenter <[email protected]>
Thanks, applied for next!
Kind regards
Uffe
Quoted 13 lines
drivers/mmc/host/sdhci-of-at91.c +0
-1@@ -110,7 +110,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