Messages in this thread | | | Date | Wed, 4 May 2022 20:57:38 -0300 | From | Jason Gunthorpe <> | Subject | Re: [PATCH linux-next] RDMA/hns: fix returnvar.cocci warning |
| |
On Tue, Apr 26, 2022 at 03:08:58PM +0800, Guo Zhengkui wrote: > Fix the following coccicheck warning: > drivers/infiniband/hw/hns/hns_roce_mr.c:343:5-8: Unneeded variable: "ret". > Return "0" on line 351. > > Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com> > --- > drivers/infiniband/hw/hns/hns_roce_mr.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-)
Applied to for-next, thanks
Jason
| |