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

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

staging: comedi: ni_labpc: checkpatch.pl cleanup (else is not useful)



Fix the 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 1c6820bc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1051,9 +1051,9 @@ static int labpc_8255_mmio(int dir, int port, int data, unsigned long iobase)
	if (dir) {
		writeb(data, (void __iomem *)(iobase + port));
		return 0;
	} else {
		return readb((void __iomem *)(iobase + port));
	}

	return readb((void __iomem *)(iobase + port));
}

/* lowlevel write to eeprom/dac */