]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
xprtrdma: Remove transfertypes array
authorChuck Lever <chuck.lever@oracle.com>
Fri, 4 May 2018 19:36:08 +0000 (15:36 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 1 Jun 2018 17:56:30 +0000 (13:56 -0400)
Clean up: This array was used in a dprintk that was replaced by a
trace point in commit ab03eff58eb5 ("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>
net/sunrpc/xprtrdma/rpc_rdma.c

index a373d0322a8077bc172648124d753c8526f2e62f..1c78516aa6f2abaab96d77c14ba865412482aaa3 100644 (file)
 # define RPCDBG_FACILITY       RPCDBG_TRANS
 #endif
 
-static const char transfertypes[][12] = {
-       "inline",       /* no chunks */
-       "read list",    /* some argument via rdma read */
-       "*read list",   /* entire request via rdma read */
-       "write list",   /* some result via rdma write */
-       "reply chunk"   /* entire reply via rdma write */
-};
-
 /* Returns size of largest RPC-over-RDMA header in a Call message
  *
  * The largest Call header contains a full-size Read list and a