smb: client: Use min() macro

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

Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
Shen Lichuan 2024-08-27 16:54:20 +08:00 • committed by Steve French
commit 25e68c37ca
2 changed files with 3 additions and 5 deletions