staging: comedi: 8255_pci: 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
08aa75496f
commit
c2c99c7fdc
1 changed files with 1 additions and 2 deletions
|
@ -201,9 +201,8 @@ static int pci_8255_mmio(int dir, int port, int data, unsigned long iobase)
|
||||||
if (dir) {
|
if (dir) {
|
||||||
writeb(data, mmio_base + port);
|
writeb(data, mmio_base + port);
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
|
||||||
return readb(mmio_base + port);
|
|
||||||
}
|
}
|
||||||
|
return readb(mmio_base + port);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int pci_8255_auto_attach(struct comedi_device *dev,
|
static int pci_8255_auto_attach(struct comedi_device *dev,
|
||||||
|
|
Loading…
Add table
Reference in a new issue