diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2019-10-17 21:31:27 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2019-10-24 17:30:40 +0300 |
commit | b5cde6aa882dfb40a2b29c1c7371fdc3655c51ce (patch) | |
tree | f0876ea6e3fa94a420fbe2eb68cdedcd6868f113 /net/sunrpc/xprtrdma/xprt_rdma.h | |
parent | f995879ec4aa8b50c3924fda3014b0ab9acad7bd (diff) | |
download | linux-b5cde6aa882dfb40a2b29c1c7371fdc3655c51ce.tar.xz |
xprtrdma: Remove rpcrdma_sendctx::sc_device
Micro-optimization: Save eight bytes in a frequently allocated
structure.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/xprt_rdma.h')
-rw-r--r-- | net/sunrpc/xprtrdma/xprt_rdma.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/xprt_rdma.h b/net/sunrpc/xprtrdma/xprt_rdma.h index 4897c09d6f61..0e5b7f373077 100644 --- a/net/sunrpc/xprtrdma/xprt_rdma.h +++ b/net/sunrpc/xprtrdma/xprt_rdma.h @@ -221,7 +221,6 @@ struct rpcrdma_req; struct rpcrdma_sendctx { struct ib_send_wr sc_wr; struct ib_cqe sc_cqe; - struct ib_device *sc_device; struct rpcrdma_req *sc_req; unsigned int sc_unmap_count; struct ib_sge sc_sges[]; |