]> git.baikalelectronics.ru Git - kernel.git/commit
clk: intel: remove redundant initialization of variable rate64
authorColin Ian King <colin.king@canonical.com>
Thu, 28 May 2020 22:12:19 +0000 (23:12 +0100)
committerStephen Boyd <sboyd@kernel.org>
Thu, 28 May 2020 23:00:33 +0000 (16:00 -0700)
commit05f8cc73d62327b1c1b0a7294e1472a826b1a390
treeff46105de27bc94dddf222c1feae6912a54bd900
parent9261e7bd66f37fbd95a011ed0cfafccd53b41f62
clk: intel: remove redundant initialization of variable rate64

The variable rate64 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://lkml.kernel.org/r/20200528221219.535804-1-colin.king@canonical.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/x86/clk-cgu.c