From: H Hartley Sweeten Date: Mon, 8 Apr 2013 21:30:23 +0000 (-0700) Subject: staging: comedi: acl7225b: dev->irq is already '0' X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=b329827d469fc78fe464683ac38fef07735de7b0;p=deliverable%2Flinux.git 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 --- diff --git a/drivers/staging/comedi/drivers/acl7225b.c b/drivers/staging/comedi/drivers/acl7225b.c index adbe580fa1f6..132e26861f15 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)