OSDN Git Service

clk: Si5341/Si5340: remove redundant assignment to n_den
authorColin Ian King <colin.king@canonical.com>
Mon, 1 Jul 2019 16:50:20 +0000 (17:50 +0100)
committerStephen Boyd <sboyd@kernel.org>
Wed, 7 Aug 2019 21:23:24 +0000 (14:23 -0700)
commite2f2402f3be89e4407d94d92d326204f70261754
tree524e408df21cc50193aaac0d30f6d75f3fa53047
parenta95fb581b144b5e73da382eaedb2e32027610597
clk: Si5341/Si5340: remove redundant assignment to n_den

The variable n_den is initialized however that value is never read
as n_den is re-assigned a little later in the two paths of a
following if-statement.  Remove the redundant assignment.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lkml.kernel.org/r/20190701165020.19840-1-colin.king@canonical.com
Acked-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-si5341.c