Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

comedi: remove redundant assignment to variable buffer_config

Variable buffer_config is being assigned a value that is never read, it
is being re-assigned later on. The assignment is redundant and can be
removed.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220130232910.9313-1-colin.i.king@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Colin Ian King and committed by
Greg Kroah-Hartman
9940a756 b86f3295

-1
-1
drivers/comedi/drivers/pcm3724.c
··· 93 93 unsigned long port_8255_cfg; 94 94 95 95 config = I8255_CTRL_CW; 96 - buffer_config = 0; 97 96 98 97 /* 1 in io_bits indicates output, 1 in config indicates input */ 99 98 if (!(s->io_bits & 0x0000ff))