[PATCH v2] ath11k: remove error checking for debugfs_create_file()

Kalle Valo kvalo at kernel.org
Mon Oct 28 07:02:27 PDT 2024


Zhen Lei <thunder.leizhen at huawei.com> writes:

> Driver ath11k can work fine even if the debugfs files fail to be created.
> Therefore, the return value check of debugfs_create_file() should be
> ignored, as it says.
>
> Suggested-by: Jeff Johnson <quic_jjohnson at quicinc.com>
> Signed-off-by: Zhen Lei <thunder.leizhen at huawei.com>

Are you just guessing or did you confirm on a real device that ath11k
spectral really works without debugfs?

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



More information about the ath11k mailing list