summaryrefslogtreecommitdiff
path: root/drivers/memory/tegra20-mc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/memory/tegra20-mc.c')
-rw-r--r--drivers/memory/tegra20-mc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/memory/tegra20-mc.c b/drivers/memory/tegra20-mc.c
index 0548eeacd573..7cd82b874abd 100644
--- a/drivers/memory/tegra20-mc.c
+++ b/drivers/memory/tegra20-mc.c
@@ -218,8 +218,6 @@ static int tegra20_mc_probe(struct platform_device *pdev)
struct resource *res;
res = platform_get_resource(pdev, IORESOURCE_MEM, i);
- if (!res)
- return -ENODEV;
mc->regs[i] = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(mc->regs[i]))
return PTR_ERR(mc->regs[i]);