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:
parent
1c6820bc16
commit
d88e3da90f
@ -1051,9 +1051,9 @@ static int labpc_8255_mmio(int dir, int port, int data, unsigned long iobase)
|
|||||||
if (dir) {
|
if (dir) {
|
||||||
writeb(data, (void __iomem *)(iobase + port));
|
writeb(data, (void __iomem *)(iobase + port));
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
|
||||||
return readb((void __iomem *)(iobase + port));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return readb((void __iomem *)(iobase + port));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* lowlevel write to eeprom/dac */
|
/* lowlevel write to eeprom/dac */
|
||||||
|
Loading…
Reference in New Issue
Block a user