Message ID | 20210827150600.78811-3-wangkefeng.wang@huawei.com |
---|---|
State | New |
Headers | show |
Series | amba: Properly handle device probe without IRQ domain | expand |
diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c index c96fdef92fe1..37fcd5592c6f 100644 --- a/drivers/amba/bus.c +++ b/drivers/amba/bus.c @@ -379,9 +379,6 @@ static int amba_device_try_add(struct amba_device *dev, struct resource *parent) void __iomem *tmp; int i, ret; - WARN_ON(dev->irq[0] == (unsigned int)-1); - WARN_ON(dev->irq[1] == (unsigned int)-1); - ret = request_resource(parent, &dev->res); if (ret) goto err_out;