mirror of https://gitee.com/openkylin/linux.git
mmc: wbsd: Silence compiler warning
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>
This commit is contained in:
parent
ecd3a7dad9
commit
e395c4387c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue