!3256 RDMA/hns: Cleanups of some optimize code
Merge Pull Request from: @stinft This pr optimizes the code for code readability, such as code refactoring, replacing magic numbers with macros, and deleting useless code. Chengchang Tang (5): RDMA/hns: Replace magic number when fill ADDR to HW RDMA/hns: Remove extra blank line in get_sge_num_from_max_inl_data() RDMA/hns: Remove unused parameters detected by -Wextra RDMA/hns: Refactor mtr find RDMA/hns: Remove useless NULL check in hns_roce_get_netdev() Junxian Huang (2): RDMA/hns: Improve readability of check_bond_support() RDMA/hns: Add more check for bonding-unsupported cases Yangyang Li (1): RDMA/hns: Use macro instead of magic number wenglianfa (2): RDMA/hns: Fix the spin_lock and spin_unlock objects are inconsistent RDMA/hns: Cleanup for debugfs bugzilla: https://gitee.com/openeuler/kernel/issues/I8LY0D Link:https://gitee.com/openeuler/kernel/pulls/3256 Reviewed-by:Chengchang Tang <tangchengchang@huawei.com> Signed-off-by:
Jialin Zhang <zhangjialin11@huawei.com>
Loading
Please sign in to comment