Re: [PATCH v2] riscv: ccache: Remove unused variable

2019-07-01 Thread Paul Walmsley
On Mon, 1 Jul 2019, Yash Shah wrote: > 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

[PATCH v2] riscv: ccache: Remove unused variable

2019-07-01 Thread Yash Shah
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 ---