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

linux@treblig.org posted 3 patches 1 year, 8 months ago
[PATCH 2/3] ASoC: codecs: wm0010: remove unused struct 'wm0010_spi_msg'
Posted by linux@treblig.org 1 year, 8 months ago
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(-)

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),
 };
-- 
2.45.1
Re: [PATCH 2/3] ASoC: codecs: wm0010: remove unused struct 'wm0010_spi_msg'
Posted by Charles Keepax 1 year, 8 months ago
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