diff mbox

ASoC: rsnd: remove unsed rsnd_ssi_non_ops

Message ID 87inkbdq1u.wl%kuninori.morimoto.gx@renesas.com (mailing list archive)
State Accepted
Commit f07b38e53b71aeb62f865632d31d3f579a77ffc0
Headers show

Commit Message

Kuninori Morimoto June 5, 2017, 4:24 a.m. UTC
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

rsnd_ssi_non_ops is never used. Let's remove it

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 sound/soc/sh/rcar/ssi.c | 8 --------
 1 file changed, 8 deletions(-)

Comments

James Cameron June 5, 2017, 5:18 a.m. UTC | #1
Typo in commit message, "unsed" should be "unused".  ;-)
Kuninori Morimoto June 5, 2017, 6:21 a.m. UTC | #2
Hi James

> Typo in commit message, "unsed" should be "unused".  ;-)

Grrrrr...
will fix in v2


Best regards
---
Kuninori Morimoto
diff mbox

Patch

diff --git a/sound/soc/sh/rcar/ssi.c b/sound/soc/sh/rcar/ssi.c
index 3e61376..a524862 100644
--- a/sound/soc/sh/rcar/ssi.c
+++ b/sound/soc/sh/rcar/ssi.c
@@ -804,13 +804,6 @@  int rsnd_ssi_is_dma_mode(struct rsnd_mod *mod)
 
 
 /*
- *		Non SSI
- */
-static struct rsnd_mod_ops rsnd_ssi_non_ops = {
-	.name	= SSI_NAME,
-};
-
-/*
  *		ssi mod function
  */
 static void rsnd_ssi_connect(struct rsnd_mod *mod,
@@ -1010,7 +1003,6 @@  int rsnd_ssi_probe(struct rsnd_priv *priv)
 			goto rsnd_ssi_probe_done;
 		}
 
-		ops = &rsnd_ssi_non_ops;
 		if (of_property_read_bool(np, "pio-transfer"))
 			ops = &rsnd_ssi_pio_ops;
 		else