]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mmc: wbsd: Silence compiler warning
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 28 Oct 2013 06:45:53 +0000 (07:45 +0100)
committerChris Ball <cjb@laptop.org>
Fri, 8 Nov 2013 19:32:03 +0000 (14:32 -0500)
The commit "mmc: wbsd: Move away from using deprecated APIs" introduced
a compiler warning, let's silence it.

Cc: Pierre Ossman <pierre@ossman.eu>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/wbsd.c

index 024c824149963300bfce8816cc6a5932dadedbe2..1defd5ed323668780846c6fe85041dec6205c20a 100644 (file)
@@ -1859,7 +1859,6 @@ static int wbsd_platform_resume(struct platform_device *dev)
 static int wbsd_pnp_suspend(struct pnp_dev *pnp_dev, pm_message_t state)
 {
        struct mmc_host *mmc = dev_get_drvdata(&pnp_dev->dev);
-       struct wbsd_host *host;
 
        if (mmc == NULL)
                return 0;