Commit 91d7e6cb authored by Shen Lichuan's avatar Shen Lichuan Committed by Greg Kroah-Hartman
Browse files

smb: client: Use min() macro



[ Upstream commit 25e68c37 ]

Use the min() macro to simplify the function and improve
its readability.

Signed-off-by: default avatarShen Lichuan <shenlichuan@vivo.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
Stable-dep-of: 5349ae5e ("smb: client: let send_done() cleanup before calling smbd_disconnect_rdma_connection()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c29dbc44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment