summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorYash Shah <yash.shah@sifive.com>2019-07-01 16:10:30 +0530
committerPaul Walmsley <paul.walmsley@sifive.com>2019-07-04 03:12:24 -0700
commitdf7e9059cf6bdf4a8c11edeee30231f49815b071 (patch)
tree6de1f04f9049f316865a4f55518e85c8d57efdfd /tools/perf
parent9e953cda5cdf1c230a3c9b7fc4d5e94f15885a9b (diff)
riscv: ccache: Remove unused variable
Reading the count register clears the interrupt signal. Currently, the count registers are read into 'regval' variable but the variable is never used. Therefore remove it. V2 of this patch add comments to justify the readl calls without checking the return value. Signed-off-by: Yash Shah <yash.shah@sifive.com> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions