From b329827d469fc78fe464683ac38fef07735de7b0 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Mon, 8 Apr 2013 14:30:23 -0700 Subject: [PATCH] staging: comedi: acl7225b: dev->irq is already '0' This driver does not use interrupts and the dev->irq variable is already set to '0' when then (*attach) function is called. Setting it in the driver is unnecessary. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/acl7225b.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/acl7225b.c b/drivers/staging/comedi/drivers/acl7225b.c index adbe580..132e268 100644 --- a/drivers/staging/comedi/drivers/acl7225b.c +++ b/drivers/staging/comedi/drivers/acl7225b.c @@ -76,7 +76,6 @@ static int acl7225b_attach(struct comedi_device *dev, if (!request_region(iobase, board->io_range, dev->board_name)) return -EIO; dev->iobase = iobase; - dev->irq = 0; ret = comedi_alloc_subdevices(dev, 3); if (ret) -- 2.7.4