mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-29 17:35:36 -04:00
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:
committed by
Greg Kroah-Hartman
parent
4ffeead332
commit
02efdb3bb0
@@ -673,9 +673,8 @@ static int daqboard2000_8255_cb(int dir, int port, int data,
|
||||
if (dir) {
|
||||
writew(data, mmio_base + port * 2);
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user