Commit 8ea4fc3f authored by Wen Gu's avatar Wen Gu Committed by Greg Kroah-Hartman
Browse files

net/smc: introduce sub-functions for smc_clc_send_confirm_accept()



[ Upstream commit 5205ac44 ]

There is a large if-else block in smc_clc_send_confirm_accept() and it
is better to split it into two sub-functions.

Suggested-by: default avatarAlexandra Winter <wintera@linux.ibm.com>
Signed-off-by: default avatarWen Gu <guwen@linux.alibaba.com>
Reviewed-by: default avatarAlexandra Winter <wintera@linux.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 0541db8e ("net/smc: initialize close_work early to avoid warning")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 612c04a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment