staging: comedi: amplc_pci224: checkpatch.pl cleanup (else after return)

Fix this checkpatch.pl warning:

WARNING: else is not generally useful after a break or return

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
H Hartley Sweeten 2014-07-16 10:43:20 -07:00 committed by Greg Kroah-Hartman
parent c3ba2678d0
commit 34880ec799

View file

@ -1255,9 +1255,8 @@ static int pci224_attach_common(struct comedi_device *dev,
dev_err(dev->class_dev,
"error! unable to allocate irq %u\n", irq);
return ret;
} else {
dev->irq = irq;
}
dev->irq = irq;
}
return 0;