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

2019-06-27 Thread Yash Shah
On Thu, Jun 27, 2019 at 9:43 PM Paul Walmsley wrote: > > On Thu, 27 Jun 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. > > > >

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

2019-06-27 Thread Paul Walmsley
On Thu, 27 Jun 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. > > Signed-off-by: Yash Shah This is a good start. Could you also add

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

2019-06-27 Thread Christoph Hellwig
On Thu, Jun 27, 2019 at 02:04:46PM +0530, 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. > > Signed-off-by: Yash Shah > --- >

[PATCH] riscv: ccache: Remove unused variable

2019-06-27 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. Signed-off-by: Yash Shah --- arch/riscv/mm/sifive_l2_cache.c | 8 1 file changed, 4 insertions(+), 4 deletions(-)