]> git.baikalelectronics.ru Git - kernel.git/commit
clk: versatile: remove redundant assignment to pointer clk
authorColin Ian King <colin.king@canonical.com>
Tue, 26 May 2020 22:41:16 +0000 (23:41 +0100)
committerStephen Boyd <sboyd@kernel.org>
Wed, 27 May 2020 06:40:41 +0000 (23:40 -0700)
commit63fb4b43d78f5ded613fdf2c8c760b475b3d94c7
tree568ddd953586f36ac23fc71d0c2046bac1697977
parent8c04e271a036f5e2d12e37bf8bd813e6cde4a348
clk: versatile: remove redundant assignment to pointer clk

The pointer clk is being initialized with a value that is never read
and is being updated with a new value later on. 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/20200526224116.63549-1-colin.king@canonical.com
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/versatile/clk-versatile.c