Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02efdb3b authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4ffeead3
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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,