ASoC: rsnd: remove unused rsnd_xxx_to_dma()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 22 Aug 2017 00:02:03 +0000 (00:02 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 22 Aug 2017 15:30:57 +0000 (16:30 +0100)
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/src.c
sound/soc/sh/rcar/ssi.c

index 46400397dbbd5099931a7291ec3cbf7e4973fe52..510b68a483b4056ec9e211d651b3638e1dac9c84 100644 (file)
@@ -27,7 +27,6 @@ struct rsnd_src {
 #define RSND_SRC_NAME_SIZE 16
 
 #define rsnd_src_get(priv, id) ((struct rsnd_src *)(priv->src) + id)
-#define rsnd_src_to_dma(src) ((src)->dma)
 #define rsnd_src_nr(priv) ((priv)->src_nr)
 #define rsnd_src_sync_is_enabled(mod) (rsnd_mod_to_src(mod)->sen.val)
 
index 8bb47144660b0bde92b33c0ea436f56d1cc20ea9..fffc07e7262741781dbe1bf00e9acb05c3c5a766 100644 (file)
@@ -99,7 +99,6 @@ struct rsnd_ssi {
             i++)
 
 #define rsnd_ssi_get(priv, id) ((struct rsnd_ssi *)(priv->ssi) + id)
-#define rsnd_ssi_to_dma(mod) ((ssi)->dma)
 #define rsnd_ssi_nr(priv) ((priv)->ssi_nr)
 #define rsnd_mod_to_ssi(_mod) container_of((_mod), struct rsnd_ssi, mod)
 #define rsnd_ssi_flags_has(p, f) ((p)->flags & f)