[PATCH] ath11k: remove error checking for debugfs_create_file()
Leizhen (ThunderTown)
thunder.leizhen at huawei.com
Thu Oct 24 23:42:13 PDT 2024
Sorry, Forgot to add v2 to the subject. I will repost.
On 2024/10/25 14:36, Zhen Lei wrote:
> 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>
> ---
> drivers/net/wireless/ath/ath11k/spectral.c | 24 ----------------------
> 1 file changed, 24 deletions(-)
>
> v1 --> v2:
> Remove error checking for debugfs_create_file() instead of fixing it.
>
--
Regards,
Zhen Lei
More information about the ath11k
mailing list