linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] wifi: rsi: Remove an unused field in struct rsi_debugfs
@ 2024-09-03 20:10 Christophe JAILLET
  2024-09-09 12:31 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Christophe JAILLET @ 2024-09-03 20:10 UTC (permalink / raw)
  To: Kalle Valo
  Cc: linux-kernel, kernel-janitors, Christophe JAILLET, linux-wireless

dfs_get_ops has apparently never been used since its introduction by
commit dad0d04fa7ba ("rsi: Add RS9113 wireless driver") in 2014-03.

More-over struct rsi_dbg_ops is not defined.

Remove the unused field from struct rsi_debugfs.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
Compile tested only.
---
 drivers/net/wireless/rsi/rsi_debugfs.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/wireless/rsi/rsi_debugfs.h b/drivers/net/wireless/rsi/rsi_debugfs.h
index a6a28640ad40..bbc1200dbb62 100644
--- a/drivers/net/wireless/rsi/rsi_debugfs.h
+++ b/drivers/net/wireless/rsi/rsi_debugfs.h
@@ -39,7 +39,6 @@ struct rsi_dbg_files {
 
 struct rsi_debugfs {
 	struct dentry *subdir;
-	struct rsi_dbg_ops *dfs_get_ops;
 	struct dentry *rsi_files[MAX_DEBUGFS_ENTRIES];
 };
 int rsi_init_dbgfs(struct rsi_hw *adapter);
-- 
2.46.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] wifi: rsi: Remove an unused field in struct rsi_debugfs
  2024-09-03 20:10 [PATCH] wifi: rsi: Remove an unused field in struct rsi_debugfs Christophe JAILLET
@ 2024-09-09 12:31 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2024-09-09 12:31 UTC (permalink / raw)
  To: Christophe JAILLET
  Cc: linux-kernel, kernel-janitors, Christophe JAILLET, linux-wireless

Christophe JAILLET <christophe.jaillet@wanadoo.fr> wrote:

> dfs_get_ops has apparently never been used since its introduction by
> commit dad0d04fa7ba ("rsi: Add RS9113 wireless driver") in 2014-03.
> 
> More-over struct rsi_dbg_ops is not defined.
> 
> Remove the unused field from struct rsi_debugfs.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>

Patch applied to wireless-next.git, thanks.

eeccaa46cb6f wifi: rsi: Remove an unused field in struct rsi_debugfs

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/15b0609d7b1569ec6c500a175caef4c9189f33e2.1725394207.git.christophe.jaillet@wanadoo.fr/

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-09 12:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-03 20:10 [PATCH] wifi: rsi: Remove an unused field in struct rsi_debugfs Christophe JAILLET
2024-09-09 12:31 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).