[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200414193524.GA26198@ziepe.ca>
Date: Tue, 14 Apr 2020 16:35:24 -0300
From: Jason Gunthorpe <jgg@...pe.ca>
To: Zou Wei <zou_wei@...wei.com>
Cc: dennis.dalessandro@...el.com, mike.marciniszyn@...el.com,
dledford@...hat.com, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] IB/qib: remove unused variable ret
On Mon, Apr 13, 2020 at 10:42:04AM +0800, Zou Wei wrote:
> This patch fixes below warnings reported by coccicheck
>
> drivers/infiniband/hw/qib/qib_iba7322.c:6878:8-11:
> Unneeded variable: "ret". Return "0" on line 6907
> drivers/infiniband/hw/qib/qib_iba7322.c:2378:5-8:
> Unneeded variable: "ret". Return "0" on line 2513
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Zou Wei <zou_wei@...wei.com>
> ---
> drivers/infiniband/hw/qib/qib_iba7322.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
Applied to for-next, thanks
Jason
Powered by blists - more mailing lists