[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJ2_jOGVJotV73YP9JTr4hDDWgH-Jr6Cfn2Pscx49wR78JocNg@mail.gmail.com>
Date: Fri, 28 Jun 2019 10:25:47 +0530
From: Yash Shah <yash.shah@...ive.com>
To: Paul Walmsley <paul.walmsley@...ive.com>
Cc: linux-riscv@...ts.infradead.org,
"linux-kernel@...r.kernel.org List" <linux-kernel@...r.kernel.org>,
Palmer Dabbelt <palmer@...ive.com>,
Albert Ou <aou@...s.berkeley.edu>,
Sachin Ghadi <sachin.ghadi@...ive.com>
Subject: Re: [PATCH] riscv: ccache: Remove unused variable
On Thu, Jun 27, 2019 at 9:43 PM Paul Walmsley <paul.walmsley@...ive.com> 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.
> >
> > Signed-off-by: Yash Shah <yash.shah@...ive.com>
>
> This is a good start. Could you also add comments in the code that
> describe what those reads are doing, as you did in the patch description?
> Otherwise they look pretty mysterious.
>
Sure, will add comments and send v2
>
> - Paul
Powered by blists - more mailing lists