staging: comedi: daqboard2000: checkpatch.pl cleanup (else after return)
Fix these checkpatch.pl warnings: 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
4ffeead332
commit
02efdb3bb0
1 changed files with 1 additions and 2 deletions
|
@ -673,9 +673,8 @@ static int daqboard2000_8255_cb(int dir, int port, int data,
|
||||||
if (dir) {
|
if (dir) {
|
||||||
writew(data, mmio_base + port * 2);
|
writew(data, mmio_base + port * 2);
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
|
||||||
return readw(mmio_base + port * 2);
|
|
||||||
}
|
}
|
||||||
|
return readw(mmio_base + port * 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const void *daqboard2000_find_boardinfo(struct comedi_device *dev,
|
static const void *daqboard2000_find_boardinfo(struct comedi_device *dev,
|
||||||
|
|
Loading…
Add table
Reference in a new issue