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

RDMA/hns: Improve the readability of free mr exception branch

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



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

The code of the current free mr abnormal branch is not readable,
resulting in false positives when checked by tools such as smatch.

This patch combines the processing of exception branches into a
separate function to improve readability.

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