diff options
-rw-r--r-- | drivers/tty/serial/max310x.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c index 3c93814b1648..ac1d54c57437 100644 --- a/drivers/tty/serial/max310x.c +++ b/drivers/tty/serial/max310x.c @@ -1081,12 +1081,6 @@ static int max310x_probe(struct device *dev, int is_spi, struct max310x_pdata *pdata = dev_get_platdata(dev); int i, ret, uartclk; - /* Check for IRQ */ - if (irq <= 0) { - dev_err(dev, "No IRQ specified\n"); - return -ENOTSUPP; - } - if (!pdata) { dev_err(dev, "No platform data supplied\n"); return -EINVAL; |