ASoC: rsnd: remove unused rsnd_ssi_non_ops
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 6 Jun 2017 02:34:42 +0000 (02:34 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 6 Jun 2017 16:55:08 +0000 (17:55 +0100)
rsnd_ssi_non_ops is never used. Let's remove it

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/ssi.c

index d0602c1897360c81055e95173d3725a39fa53a6a..eddd8afa0825a3d12d830068bc8a90fdc24c2ad1 100644 (file)
@@ -791,13 +791,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
  */
@@ -998,7 +991,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