clk: socfpga: remove redundant initialization of variable div
authorColin Ian King <colin.king@canonical.com>
Tue, 6 Apr 2021 18:27:46 +0000 (19:27 +0100)
committerStephen Boyd <sboyd@kernel.org>
Wed, 7 Apr 2021 23:30:23 +0000 (16:30 -0700)
commit52d1a8da40b3c3e165e7b89d1a21a48da196792f
treeca6e323e83349aa0b70ba4f63e2eda33c531b83e
parent657d4d1934f75a2d978c3cf2086495eaa542e7a9
clk: socfpga: remove redundant initialization of variable div

The variable div 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/20210406182746.432861-1-colin.king@canonical.com
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/socfpga/clk-gate-s10.c
drivers/clk/socfpga/clk-pll-s10.c