Commit 133376e5 authored by Chuck Lever's avatar Chuck Lever Committed by Xie XiuQi
Browse files

xprtrdma: Eliminate "connstate" variable from rpcrdma_conn_upcall()



mainline inclusion
from mainline-4.20
commit aadc5a94
category: bugfix
bugzilla: NA
CVE: NA

-------------------------------------------------

Clean up.

Since commit 173b8f49 ("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: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>

Conflicts:
  net/sunrpc/xprtrdma/verbs.c
Reviewed-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 2e8f3598
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment