diff options
author | Chengchang Tang <tangchengchang@huawei.com> | 2023-12-07 19:42:30 +0800 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-12-07 15:09:16 +0200 |
commit | f31683a5227b1a0febae8e2a85d7fdf9514c10f1 (patch) | |
tree | 5715113ae35968723e1709cba3f4531ac29bed49 /security/commoncap.c | |
parent | 7243396aaf12385ba514764b6401bcd15e1a52c7 (diff) |
RDMA/hns: Remove unnecessary checks for NULL in mtr_alloc_bufs()
ib_umem_get() never return NULL.
Fixes: 3c873161a0d7 ("RDMA/hns: Add support for addressing when hopnum is 0")
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20231207114231.2872104-5-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'security/commoncap.c')
0 files changed, 0 insertions, 0 deletions