]> asedeno.scripts.mit.edu Git - linux.git/commit
xprtrdma: Eliminate "connstate" variable from rpcrdma_conn_upcall()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 1 Oct 2018 18:25:57 +0000 (14:25 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 2 Oct 2018 20:16:54 +0000 (16:16 -0400)
commitaadc5a94483b138c8d9ade6e8416b089733a34dd
tree9e5ce948124df9b8e7a7782c8c1ac2c07877bf65
parented97f1f79be9868692d115a72c379900231efeb5
xprtrdma: Eliminate "connstate" variable from rpcrdma_conn_upcall()

Clean up.

Since commit 173b8f49b3af ("xprtrdma: Demote "connect" log messages")
there has been no need to initialize connstat to zero. In fact, in
this code path there's now no reason not to set rep_connected
directly.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/verbs.c