diff options
author | Colin Ian King <[email protected]> | 2024-02-23 13:43:47 +0000 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2024-02-28 14:51:51 -0800 |
commit | 732b1c2c9fa33e6320fd58ad5fcdab09ea2c21ed (patch) | |
tree | 7229c3ba977724dbec79b7304897033a30035537 /tools/perf/util/trace-event-scripting.c | |
parent | 05dbb505dbdb88e8c5a9d6aa6ae1aa3231057d0f (diff) |
clk: clocking-wizard: Remove redundant initialization of pointer div_addr
The pointer div_addr is being assigned a value that is never used, it is
being re-assigned a different value near the end of the function where
it is being read in the next statement. The initialization is redundant
and can be removed.
Cleans up clang scan build warning:
drivers/clk/xilinx/clk-xlnx-clock-wizard.c:501:16: warning: Value stored
to 'div_addr' during its initialization is never read [deadcode.DeadStores]
Signed-off-by: Colin Ian King <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Michal Simek <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions