diff options
Diffstat (limited to 'arch/mips/pci/pci-rt3883.c')
-rw-r--r-- | arch/mips/pci/pci-rt3883.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/pci/pci-rt3883.c b/arch/mips/pci/pci-rt3883.c index adeff2bfe4cd..72919aeef42b 100644 --- a/arch/mips/pci/pci-rt3883.c +++ b/arch/mips/pci/pci-rt3883.c | |||
@@ -436,9 +436,6 @@ static int rt3883_pci_probe(struct platform_device *pdev) | |||
436 | return -ENOMEM; | 436 | return -ENOMEM; |
437 | 437 | ||
438 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 438 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
439 | if (!res) | ||
440 | return -EINVAL; | ||
441 | |||
442 | rpc->base = devm_ioremap_resource(dev, res); | 439 | rpc->base = devm_ioremap_resource(dev, res); |
443 | if (IS_ERR(rpc->base)) | 440 | if (IS_ERR(rpc->base)) |
444 | return PTR_ERR(rpc->base); | 441 | return PTR_ERR(rpc->base); |