OSDN Git Service

xprtrdma: Re-organize the switch() in rpcrdma_conn_upcall
authorChuck Lever <chuck.lever@oracle.com>
Mon, 1 Oct 2018 18:26:03 +0000 (14:26 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 3 Oct 2018 12:39:39 +0000 (08:39 -0400)
commit316a616e7886583c03d00f8320458b713c1dd277
treecbc25f23bc4cceb96a1ce448b599a4244f75be35
parentaadc5a94483b138c8d9ade6e8416b089733a34dd
xprtrdma: Re-organize the switch() in rpcrdma_conn_upcall

Clean up: Eliminate the FALLTHROUGH into the default arm to make the
switch easier to understand.

Also, as long as I'm here, do not display the memory address of the
target rpcrdma_ep. A hashed memory address is of marginal use here.

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