]> git.baikalelectronics.ru Git - kernel.git/commit
clk: baikal-t1: remove redundant assignment to variable 'divider'
authorColin Ian King <colin.king@canonical.com>
Tue, 2 Jun 2020 17:24:35 +0000 (18:24 +0100)
committerStephen Boyd <sboyd@kernel.org>
Tue, 9 Jun 2020 20:45:37 +0000 (13:45 -0700)
commit766e1cf89ca42064c77735afbc9380c3f3c582b1
treec2c1a5309512435b2586a71b65655dbbfc737bcd
parent34724e1da9c3d544a541bd99e24ba65c5541800b
clk: baikal-t1: remove redundant assignment to variable 'divider'

The variable divider is being initialized with a value that is never read
and it is being updated later with a new value.  The initialization is
redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20200602172435.70282-1-colin.king@canonical.com
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/baikal-t1/ccu-div.c