SUNRPC: use max_t() to simplify open code
authorZiyang Xuan <william.xuanziyang@huawei.com>
Tue, 7 Jun 2022 07:32:01 +0000 (15:32 +0800)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 3 Oct 2022 15:26:36 +0000 (11:26 -0400)
commitd6abc719a213b8c409789799786e11d203adb3b0
treed391a82a05a5510a003ee3330de7f8c704ee172b
parent724e2df95b08a7e6ca989a9f96b29dc92ece9cd9
SUNRPC: use max_t() to simplify open code

Use max_t() to simplify open code which uses "if...else" to get maximum of
two values.

Generated by coccinelle script:
scripts/coccinelle/misc/minmax.cocci

Signed-off-by: Ziyang Xuan <william.xuanziyang@huawei.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprt.c