diff options
author | Chenghai Huang <huangchenghai2@huawei.com> | 2024-04-07 09:59:54 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-04-12 09:07:52 +0200 |
commit | 040279e84d4e94d65cd5a9f95f9821e26c72d26e (patch) | |
tree | ca192bfc7ab67353b07768ed945bfcfb9cf274a7 /fs/bcachefs/tests.c | |
parent | crypto: hisilicon/debugfs - Fix debugfs uninit process issue (diff) | |
download | linux-040279e84d4e94d65cd5a9f95f9821e26c72d26e.tar.xz linux-040279e84d4e94d65cd5a9f95f9821e26c72d26e.zip |
crypto: hisilicon/sgl - Delete redundant parameter verification
The input parameter check in acc_get_sgl is redundant. The
caller has been verified once. When the check is performed for
multiple times, the performance deteriorates.
So the redundant parameter verification is deleted, and the
index verification is changed to the module entry function for
verification.
Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'fs/bcachefs/tests.c')
0 files changed, 0 insertions, 0 deletions