From: Marcus Cooper <codekip...@gmail.com> sunxi_snd_is_clkmaster is not used anywhere and does nothing. Also remove external declarations of functions that are only used in the file that they are defined in.
Signed-off-by: Marcus Cooper <codekip...@gmail.com> --- sound/soc/sunxi/spdif/sunxi_spdif.c | 11 ----------- sound/soc/sunxi/spdif/sunxi_spdif.h | 5 ----- 2 files changed, 16 deletions(-) diff --git a/sound/soc/sunxi/spdif/sunxi_spdif.c b/sound/soc/sunxi/spdif/sunxi_spdif.c index 103113b..29c9116 100644 --- a/sound/soc/sunxi/spdif/sunxi_spdif.c +++ b/sound/soc/sunxi/spdif/sunxi_spdif.c @@ -125,11 +125,6 @@ void sunxi_snd_rxctrl(int on) { } -static inline int sunxi_snd_is_clkmaster(void) -{ - return 0; -} - static int sunxi_spdif_set_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt) { u32 reg_val; @@ -402,12 +397,6 @@ static int sunxi_spdif_set_clkdiv(struct snd_soc_dai *cpu_dai, int div_id, int d return 0; } -u32 sunxi_spdif_get_clockrate(void) -{ - return 0; -} -EXPORT_SYMBOL_GPL(sunxi_spdif_get_clockrate); - static int sunxi_spdif_dai_probe(struct snd_soc_dai *dai) { return 0; diff --git a/sound/soc/sunxi/spdif/sunxi_spdif.h b/sound/soc/sunxi/spdif/sunxi_spdif.h index de1dc06..b4157f6 100644 --- a/sound/soc/sunxi/spdif/sunxi_spdif.h +++ b/sound/soc/sunxi/spdif/sunxi_spdif.h @@ -134,9 +134,4 @@ struct sunxi_spdif_info { extern struct sunxi_spdif_info sunxi_spdif; -unsigned int sunxi_spdif_get_clockrate(void); - -extern void sunxi_snd_txctrl(struct snd_pcm_substream *substream, int on); -extern void sunxi_snd_rxctrl(int on); - #endif -- 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.