Messages in this thread | | | Date | Tue, 14 Apr 2020 16:35:24 -0300 | From | Jason Gunthorpe <> | 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@huawei.com> > Signed-off-by: Zou Wei <zou_wei@huawei.com> > --- > drivers/infiniband/hw/qib/qib_iba7322.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-)
Applied to for-next, thanks
Jason
| |