RDMA/qedr: Remove Unneeded variable rc
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Tue, 16 Jul 2019 17:37:12 +0000 (23:07 +0530)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 25 Jul 2019 16:55:28 +0000 (13:55 -0300)
commitcf167e5eb92c143ac2b0300ea65ed9f0ce572c3b
tree057f315079f82868521180bac0ec16a8944a55d5
parent4cc315c53f959c5d71b96111a7d317f40771558e
RDMA/qedr: Remove Unneeded variable rc

Fix the below warning reported by coccicheck:

drivers/infiniband/hw/qedr/verbs.c:2454:5-7: Unneeded variable: "rc".
Return "0" on line 2499

Link: https://lore.kernel.org/r/20190716173712.GA12949@hari-Inspiron-1545
Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Acked-by: Michal Kalderon <michal.kalderon@marvell.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/qedr/verbs.c