]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: cdce925: Remove redundant assignment to variable 'rate'
authorColin Ian King <colin.i.king@gmail.com>
Fri, 16 Feb 2024 14:01:32 +0000 (14:01 +0000)
committerStephen Boyd <sboyd@kernel.org>
Thu, 22 Feb 2024 05:36:09 +0000 (21:36 -0800)
commitd71e1f5b1048bb7474a90a0c570197063831e730
treeed2a32fcbb6d5e9641b21b65b510129f38237f84
parent44042fb0d66182e3d6da2b010dbae58b170ca3c8
clk: cdce925: Remove redundant assignment to variable 'rate'

The variable 'rate' being assigned a value that is never read, the
assignment is redundant and can be removed.

Cleans up clang scan build warning:
drivers/clk/clk-cdce925.c:104:3: warning: Value stored to 'rate' is
never read [deadcode.DeadStores]

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20240216140132.2108665-1-colin.i.king@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-cdce925.c