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:
parent
c3ba2678d0
commit
34880ec799
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue