Commit 1301783c authored by Wang Ming's avatar Wang Ming Committed by Kalle Valo
Browse files

wifi: ath6kl: Remove error checking for debugfs_create_dir()



It is expected that most callers should _ignore_ the errors
return by debugfs_create_dir() in ath6kl_debug_init_fs().

Signed-off-by: default avatarWang Ming <machel@vivo.com>
Signed-off-by: default avatarKalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230714014358.514-1-machel@vivo.com
parent f7eb8315
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1793,8 +1793,6 @@ int ath6kl_debug_init_fs(struct ath6kl *ar)
{
	ar->debugfs_phy = debugfs_create_dir("ath6kl",
					     ar->wiphy->debugfsdir);
	if (!ar->debugfs_phy)
		return -ENOMEM;

	debugfs_create_file("tgt_stats", 0400, ar->debugfs_phy, ar,
			    &fops_tgt_stats);