diff mbox series

[2/3] ASoC: codecs: wm0010: remove unused struct 'wm0010_spi_msg'

Message ID 20240601225446.183505-3-linux@treblig.org (mailing list archive)
State Accepted
Commit 62ccbe8cbe2a1b6911ec47bea8b1510dc1f82dd5
Headers show
Series Dead structs in sound/soc/codecs | expand

Commit Message

Dr. David Alan Gilbert June 1, 2024, 10:54 p.m. UTC
From: "Dr. David Alan Gilbert" <linux@treblig.org>

'wm0010_spi_msg' has been unused since the original
commit e3523e01869d ("ASoC: wm0010: Add initial wm0010 DSP driver").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 sound/soc/codecs/wm0010.c | 8 --------
 1 file changed, 8 deletions(-)

Comments

Charles Keepax June 3, 2024, 8:17 a.m. UTC | #1
On Sat, Jun 01, 2024 at 11:54:45PM +0100, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> 'wm0010_spi_msg' has been unused since the original
> commit e3523e01869d ("ASoC: wm0010: Add initial wm0010 DSP driver").
> 
> Remove it.
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> ---

Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>

Thanks,
Charles
diff mbox series

Patch

diff --git a/sound/soc/codecs/wm0010.c b/sound/soc/codecs/wm0010.c
index 8f862729a2ca..edd2cb185c42 100644
--- a/sound/soc/codecs/wm0010.c
+++ b/sound/soc/codecs/wm0010.c
@@ -115,14 +115,6 @@  struct wm0010_priv {
 	struct completion boot_completion;
 };
 
-struct wm0010_spi_msg {
-	struct spi_message m;
-	struct spi_transfer t;
-	u8 *tx_buf;
-	u8 *rx_buf;
-	size_t len;
-};
-
 static const struct snd_soc_dapm_widget wm0010_dapm_widgets[] = {
 SND_SOC_DAPM_SUPPLY("CLKIN",  SND_SOC_NOPM, 0, 0, NULL, 0),
 };