Skip to content
Commit 3f12d557 authored by Colin Ian King's avatar Colin Ian King Committed by Meng Li
Browse files

clk: socfpga: remove redundant initialization of variable div

commit  d04a9d8be817ede06bb05d419acfe5f5bbf6115f from
https://github.com/altera-opensource/linux-socfpga.git

[upstream commit 52d1a8da

]

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: default avatarColin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210406182746.432861-1-colin.king@canonical.com
Acked-by: default avatarDinh Nguyen <dinguyen@kernel.org>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
Signed-off-by: default avatarMeng Li <Meng.Li@windriver.com>
parent 3f6a1609
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment