RDMA/core: Remove err in iw_query_port
commit1e123d96b85fd41278efc994f8096e1df86fd427
authorGuoqing Jiang <guoqing.jiang@cloud.ionos.com>
Thu, 9 Jan 2020 13:40:43 +0000 (9 14:40 +0100)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 10 Jan 2020 15:19:04 +0000 (10 11:19 -0400)
tree582ab767af52f86d763ff1dbdedf9e6c597ebdae
parent626903e9355bdf8d401fc0ac7e7407862c642710
RDMA/core: Remove err in iw_query_port

Since we can return device->ops.query_port directly, so no need to keep
those lines.

Link: https://lore.kernel.org/r/20200109134043.15568-1-guoqing.jiang@cloud.ionos.com
Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/device.c