ASoC: rsnd: remove meaningless rsnd_ssi_non()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 24 Jan 2014 02:38:17 +0000 (18:38 -0800)
committerMark Brown <broonie@linaro.org>
Mon, 3 Feb 2014 12:41:15 +0000 (12:41 +0000)
rsnd_ssi_non_ops callback functions are never called.
remove these meaningless callback

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

index df775f0c8a2c85607461783fd2dd352c90f09928..ef3d45045d1ff018e92b4aa6f36170109cc98468 100644 (file)
@@ -555,24 +555,8 @@ static struct rsnd_mod_ops rsnd_ssi_dma_ops = {
 /*
  *             Non SSI
  */
-static int rsnd_ssi_non(struct rsnd_mod *mod,
-                       struct rsnd_dai *rdai,
-                       struct rsnd_dai_stream *io)
-{
-       struct rsnd_priv *priv = rsnd_mod_to_priv(mod);
-       struct device *dev = rsnd_priv_to_dev(priv);
-
-       dev_dbg(dev, "%s\n", __func__);
-
-       return 0;
-}
-
 static struct rsnd_mod_ops rsnd_ssi_non_ops = {
        .name   = "ssi (non)",
-       .init   = rsnd_ssi_non,
-       .quit   = rsnd_ssi_non,
-       .start  = rsnd_ssi_non,
-       .stop   = rsnd_ssi_non,
 };
 
 /*