Commit 40398858 authored by Chengchang Tang's avatar Chengchang Tang Committed by Juan Zhou
Browse files

RDMA/hns: Remove unnecessary checks for NULL in mtr_alloc_bufs()

driver inclusion
category: cleanup
bugzilla: https://gitee.com/openeuler/kernel/issues/I6GT7F



--------------------------------------------------------------------------

ib_umem_get() never return NULL.

Fixes: 3c873161 ("RDMA/hns: Add support for addressing when hopnum is 0")
Signed-off-by: default avatarChengchang Tang <tangchengchang@huawei.com>
parent 6fd50c4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment