History

mmc: tmio: eliminate unused variable 'mmc' warning

Fix below compile warning: CC drivers/mmc/host/tmio_mmc.o drivers/mmc/host/tmio_mmc.c: In function 'tmio_mmc_suspend': drivers/mmc/host/tmio_mmc.c:30: warning: unused variable 'mmc' drivers/mmc/host/tmio_mmc.c: In function 'tmio_mmc_resume': drivers/mmc/host/tmio_mmc.c:45: warning: unused variable 'mmc'

Axel Lin committed 15 years ago

Commit 4906baf1 parent 0d588641 file · +0 −2Browse files

Unified · Split

drivers/mmc/host/tmio_mmc.c+0−2
@@ -27,7 +27,6 @@ · 26 unmodified lines
2727 static int tmio_mmc_suspend(struct platform_device *dev, pm_message_t state)
2828 {
2929 const struct mfd_cell *cell = mfd_get_cell(dev);
30− struct mmc_host *mmc = platform_get_drvdata(dev);
3130 int ret;
3231
3332 ret = tmio_mmc_host_suspend(&dev->dev);
@@ -42,7 +41,6 @@ static int tmio_mmc_suspend(struct platform_device *dev, pm_message_t state) · 8 unmodified lines
4241 static int tmio_mmc_resume(struct platform_device *dev)
4342 {
4443 const struct mfd_cell *cell = mfd_get_cell(dev);
45− struct mmc_host *mmc = platform_get_drvdata(dev);
4644 int ret = 0;
4745
4846 /* Tell the MFD core we are ready to be enabled */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t