Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34880ec7 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c3ba2678
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;