Merge branch 'stable-3.2' into pandora-3.2
[pandora-kernel.git] / drivers / mmc / host / omap_hsmmc.c
index 364309c..26e9f6e 100644 (file)
@@ -2209,9 +2209,7 @@ static int omap_hsmmc_suspend(struct device *dev)
                } else {
                        host->suspended = 0;
                        if (host->pdata->resume) {
-                               ret = host->pdata->resume(&pdev->dev,
-                                                         host->slot_id);
-                               if (ret)
+                               if (host->pdata->resume(&pdev->dev, host->slot_id))
                                        dev_dbg(mmc_dev(host->mmc),
                                                "Unmask interrupt failed\n");
                        }