summaryrefslogtreecommitdiff
path: root/drivers/perf/riscv_pmu.c
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2022-05-18 11:45:36 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-05-19 20:48:17 +0300
commit59cafa728c373551423d67a1369289a717006a4b (patch)
treed29f556ab448da763591abd31dd594e89f11e810 /drivers/perf/riscv_pmu.c
parentf125bdbdd6bd4a88f3697e5850359d3ffe43a3f2 (diff)
downloadlinux-59cafa728c373551423d67a1369289a717006a4b.tar.xz
powercap: intel_rapl: remove redundant store to value after multiply
There is no need to store the result of the multiply back to variable value after the multiplication. The store is redundant, replace *= with just *. Cleans up clang scan build warning: warning: Although the value stored to 'value' is used in the enclosing expression, the value is never actually read from 'value' [deadcode.DeadStores] Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/perf/riscv_pmu.c')
0 files changed, 0 insertions, 0 deletions