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: 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:40 -07:00 committed by Greg Kroah-Hartman
parent 1c6820bc16
commit d88e3da90f

View File

@ -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 */