staging: comedi: 8255: checkpatch.pl cleanup (else after return)
Fix the checkpatch.pl warning in this file: 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
c2c99c7fdc
commit
8ed43d77b3
1 changed files with 1 additions and 2 deletions
|
@ -102,9 +102,8 @@ static int subdev_8255_io(int dir, int port, int data, unsigned long iobase)
|
||||||
if (dir) {
|
if (dir) {
|
||||||
outb(data, iobase + port);
|
outb(data, iobase + port);
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
|
||||||
return inb(iobase + port);
|
|
||||||
}
|
}
|
||||||
|
return inb(iobase + port);
|
||||||
}
|
}
|
||||||
|
|
||||||
void subdev_8255_interrupt(struct comedi_device *dev,
|
void subdev_8255_interrupt(struct comedi_device *dev,
|
||||||
|
|
Loading…
Add table
Reference in a new issue