| From ffcacc0264f7f6d7c812c70e0ff17eaf0ed4bd7a Mon Sep 17 00:00:00 2001 |
| From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
| Date: Thu, 23 Jan 2014 18:38:17 -0800 |
| Subject: ASoC: rsnd: remove meaningless rsnd_ssi_non() |
| |
| 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> |
| (cherry picked from commit 6acef1721c1046be8b5f44b839c28817cfbd66c6) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| sound/soc/sh/rcar/ssi.c | 16 ---------------- |
| 1 file changed, 16 deletions(-) |
| |
| diff --git a/sound/soc/sh/rcar/ssi.c b/sound/soc/sh/rcar/ssi.c |
| index df775f0c8a2c..ef3d45045d1f 100644 |
| --- a/sound/soc/sh/rcar/ssi.c |
| +++ b/sound/soc/sh/rcar/ssi.c |
| @@ -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, |
| }; |
| |
| /* |
| -- |
| 2.1.2 |
| |