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: 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
eb8051d73c
commit
f9558b49dc
@ -310,10 +310,7 @@ enum clock_config_register_bits {
|
|||||||
/* ioconfigreg */
|
/* ioconfigreg */
|
||||||
static inline unsigned ioconfig_bitshift(unsigned pfi_channel)
|
static inline unsigned ioconfig_bitshift(unsigned pfi_channel)
|
||||||
{
|
{
|
||||||
if (pfi_channel % 2)
|
return (pfi_channel % 2) ? 0 : 8;
|
||||||
return 0;
|
|
||||||
else
|
|
||||||
return 8;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline unsigned pfi_output_select_mask(unsigned pfi_channel)
|
static inline unsigned pfi_output_select_mask(unsigned pfi_channel)
|
||||||
|
Loading…
Reference in New Issue
Block a user