crypto: hisilicon/qm - use min() instead of min_t()
authorWeili Qian <qianweili@huawei.com>
Thu, 9 Feb 2023 12:36:14 +0000 (20:36 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 14 Feb 2023 05:39:33 +0000 (13:39 +0800)
commitf8de067cbe05a43a3de5d8873cd63c17abb1c7c8
tree98cbe4ee638adff2891c9033be95a5adaec6675c
parenta292f2534fb2caec7f3ad32045338f8feac28112
crypto: hisilicon/qm - use min() instead of min_t()

'act_q_num = min_t(int, act_q_num, max_qp_num)', the type
of 'act_q_num' and 'max_qp_num' are both 'u32', so
use min() instead of min_t().

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c