Skip to content

Commit 11d0ac1

Browse files
chuckleveramschuma-ntap
authored andcommitted
xprtrdma: Remove transfertypes array
Clean up: This array was used in a dprintk that was replaced by a trace point in commit ab03eff ("xprtrdma: Add trace points in RPC Call transmit paths"). Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
1 parent 8335640 commit 11d0ac1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

net/sunrpc/xprtrdma/rpc_rdma.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,6 @@
5555
# define RPCDBG_FACILITY RPCDBG_TRANS
5656
#endif
5757

58-
static const char transfertypes[][12] = {
59-
"inline", /* no chunks */
60-
"read list", /* some argument via rdma read */
61-
"*read list", /* entire request via rdma read */
62-
"write list", /* some result via rdma write */
63-
"reply chunk" /* entire reply via rdma write */
64-
};
65-
6658
/* Returns size of largest RPC-over-RDMA header in a Call message
6759
*
6860
* The largest Call header contains a full-size Read list and a

0 commit comments

Comments
 (0)