]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: rsi: Remove an unused field in struct rsi_debugfs
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 3 Sep 2024 20:10:32 +0000 (22:10 +0200)
committerKalle Valo <kvalo@kernel.org>
Mon, 9 Sep 2024 12:30:49 +0000 (15:30 +0300)
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>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/15b0609d7b1569ec6c500a175caef4c9189f33e2.1725394207.git.christophe.jaillet@wanadoo.fr
drivers/net/wireless/rsi/rsi_debugfs.h

index a6a28640ad4098c75a414c461fddd87f49015097..bbc1200dbb62ca5ca3fd14e84a97fe71d9c2fb68 100644 (file)
@@ -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);