]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
svcrdma: Clean up rdma_create_xprt()
authorChuck Lever <chuck.lever@oracle.com>
Thu, 7 Jan 2016 19:48:55 +0000 (14:48 -0500)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:30:47 +0000 (15:30 -0500)
commit3d61677c4d5f40529fb26c8f45c0d3a1bba47c66
tree4e4fc842c6f43cb668f06d584e1b4ca7a51f3347
parentc3efe7500add077f79d37b18e9c66df6621409b6
svcrdma: Clean up rdma_create_xprt()

kzalloc is used here, so setting the atomic fields to zero is
unnecessary. sc_ord is set again in handle_connect_req. The other
fields are re-initialized in svc_rdma_accept().

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Acked-by: Bruce Fields <bfields@fieldses.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
net/sunrpc/xprtrdma/svc_rdma_transport.c