From: Marcus Cooper <codekip...@gmail.com>

Signed-off-by: Marcus Cooper <codekip...@gmail.com>
---
 sound/soc/sunxi/i2s/sndi2s.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/sound/soc/sunxi/i2s/sndi2s.c b/sound/soc/sunxi/i2s/sndi2s.c
index 68bad02..194a869 100644
--- a/sound/soc/sunxi/i2s/sndi2s.c
+++ b/sound/soc/sunxi/i2s/sndi2s.c
@@ -39,8 +39,6 @@ static int i2s_used = 0;
 #define sndi2s_FORMATS (SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE | \
                                     SNDRV_PCM_FMTBIT_S18_3LE | 
SNDRV_PCM_FMTBIT_S20_3LE)
 
-hdmi_audio_t hdmi_parameter;
-
 static int sndi2s_mute(struct snd_soc_dai *dai, int mute)
 {
        return 0;
@@ -62,8 +60,6 @@ static int sndi2s_hw_params(struct snd_pcm_substream 
*substream,
        struct snd_pcm_hw_params *params,
        struct snd_soc_dai *dai)
 {
-       hdmi_parameter.sample_rate = params_rate(params);
-
        return 0;
 }
 
@@ -75,9 +71,6 @@ static int sndi2s_set_dai_sysclk(struct snd_soc_dai 
*codec_dai,
 
 static int sndi2s_set_dai_clkdiv(struct snd_soc_dai *codec_dai, int div_id, 
int div)
 {
-
-       hdmi_parameter.fs_between = div;
-
        return 0;
 }
 
-- 
1.9.1

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to