diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2022-01-30 23:29:10 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-08 12:12:02 +0100 |
commit | 9940a7569d4ca7d8530a488b2e81ea1da86a3694 (patch) | |
tree | 28c9a5da782f40e0c3afedc46c8a413176bf4199 /drivers/comedi | |
parent | b86f32951d173b43d1db8de883473fc53dc3c772 (diff) | |
download | linux-9940a7569d4ca7d8530a488b2e81ea1da86a3694.tar.bz2 |
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>
Diffstat (limited to 'drivers/comedi')
-rw-r--r-- | drivers/comedi/drivers/pcm3724.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/comedi/drivers/pcm3724.c b/drivers/comedi/drivers/pcm3724.c index e4103f9eeced..ca8bef54dacc 100644 --- a/drivers/comedi/drivers/pcm3724.c +++ b/drivers/comedi/drivers/pcm3724.c @@ -93,7 +93,6 @@ static void do_3724_config(struct comedi_device *dev, unsigned long port_8255_cfg; config = I8255_CTRL_CW; - buffer_config = 0; /* 1 in io_bits indicates output, 1 in config indicates input */ if (!(s->io_bits & 0x0000ff)) |