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

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

staging: comedi: ni_660x: checkpatch.pl cleanup (else not useful)



Fix the checkpatch.pl warning:

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 eb8051d7
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -310,10 +310,7 @@ enum clock_config_register_bits {
/* ioconfigreg */
static inline unsigned ioconfig_bitshift(unsigned pfi_channel)
{
	if (pfi_channel % 2)
		return 0;
	else
		return 8;
	return (pfi_channel % 2) ? 0 : 8;
}

static inline unsigned pfi_output_select_mask(unsigned pfi_channel)