diff mbox series

wifi: rsi: Remove an unused field in struct rsi_debugfs

Message ID 15b0609d7b1569ec6c500a175caef4c9189f33e2.1725394207.git.christophe.jaillet@wanadoo.fr
State New
Headers show
Series wifi: rsi: Remove an unused field in struct rsi_debugfs | expand

Commit Message

Christophe JAILLET Sept. 3, 2024, 8:10 p.m. UTC
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(-)

Comments

Kalle Valo Sept. 9, 2024, 12:31 p.m. UTC | #1
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
diff mbox series

Patch

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);