Commit 34b53116 authored by Junxian Huang's avatar Junxian Huang Committed by Juan Zhou
Browse files

RDMA/hns: Remove return value checks of debugfs functions

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8DJVZ



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

It's suggested that the errors returned by debugfs functions should
be ignored, as these functions can handle an error dentry. So remove
all the return value checks.

Fixes: 9bde3d2b912f ("RDMA/hns: Support SW stats with debugfs")
Fixes: a2178118 ("RDMA/hns: Add debugfs support for DCA")
Signed-off-by: default avatarJunxian Huang <huangjunxian6@hisilicon.com>
parent 2223966b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment