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

RDMA/hns: Remove useless NULL check in hns_roce_get_netdev()

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



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

This patch removes an unnecessary NULL check for ndev in
hns_roce_get_netdev().

Signed-off-by: default avatarChengchang Tang <tangchengchang@huawei.com>
parent db23cf7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment