summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rxe/rxe_verbs.h
diff options
context:
space:
mode:
authorZhu Yanjun <yanjun.zhu@linux.dev>2021-12-16 00:48:42 -0500
committerJason Gunthorpe <jgg@nvidia.com>2022-01-05 13:56:50 -0400
commit8803836fe75413f7e78a18ce81c0b41ab978a2d0 (patch)
treefb359ff8d36ccd6a96a1384cb6372d916d73dc9a /drivers/infiniband/sw/rxe/rxe_verbs.h
parent47920e4d2cbfe64e85c8b536a792a91a94c7c187 (diff)
downloadlinux-8803836fe75413f7e78a18ce81c0b41ab978a2d0.tar.gz
linux-8803836fe75413f7e78a18ce81c0b41ab978a2d0.tar.bz2
linux-8803836fe75413f7e78a18ce81c0b41ab978a2d0.zip
RDMA/rxe: Remove the unused xmit_errors member
The member variable xmit_errors can be replaced with rxe_counter_inc(rxe, RXE_CNT_SEND_ERR) Link: https://lore.kernel.org/r/20211216054842.1099428-1-yanjun.zhu@linux.dev Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_verbs.h')
-rw-r--r--drivers/infiniband/sw/rxe/rxe_verbs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.h b/drivers/infiniband/sw/rxe/rxe_verbs.h
index caf1ce118765..e48969e8d4c8 100644
--- a/drivers/infiniband/sw/rxe/rxe_verbs.h
+++ b/drivers/infiniband/sw/rxe/rxe_verbs.h
@@ -392,8 +392,6 @@ struct rxe_dev {
struct net_device *ndev;
- int xmit_errors;
-
struct rxe_pool uc_pool;
struct rxe_pool pd_pool;
struct rxe_pool ah_pool;