Commit f67cd7f6 authored by Yangtao Li's avatar Yangtao Li Committed by Ulf Hansson
Browse files

mmc: sdhci-of-aspeed: remove unneeded variables

parent b9c3ea46
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -454,12 +454,11 @@ static int aspeed_sdhci_remove(struct platform_device *pdev)
{
{
	struct sdhci_pltfm_host *pltfm_host;
	struct sdhci_pltfm_host *pltfm_host;
	struct sdhci_host *host;
	struct sdhci_host *host;
	int dead = 0;


	host = platform_get_drvdata(pdev);
	host = platform_get_drvdata(pdev);
	pltfm_host = sdhci_priv(host);
	pltfm_host = sdhci_priv(host);


	sdhci_remove_host(host, dead);
	sdhci_remove_host(host, 0);


	clk_disable_unprepare(pltfm_host->clk);
	clk_disable_unprepare(pltfm_host->clk);