RDMA/qib: Unneeded variable ret
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Tue, 16 Jul 2019 17:29:25 +0000 (22:59 +0530)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 25 Jul 2019 16:53:45 +0000 (13:53 -0300)
commit4cc315c53f959c5d71b96111a7d317f40771558e
treec9c982fce4c90367bc3466c498b70d0487b22bfc
parent33db6f94847c33ebdeb2e73ef5cd8fd04fb58e86
RDMA/qib: Unneeded variable ret

Fix the below warning reported by coccicheck:

drivers/infiniband/hw/qib/qib_file_ops.c:1792:5-8: Unneeded variable:
"ret". Return "0" on line 1876

Link: https://lore.kernel.org/r/20190716172924.GA12241@hari-Inspiron-1545
Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/qib/qib_file_ops.c