projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfcefe0
)
ASoC: rsnd: remove unsed .rate
author
Kuninori Morimoto
<
[email protected]
>
Thu, 15 Jan 2015 08:02:24 +0000
(08:02 +0000)
committer
Mark Brown
<
[email protected]
>
Thu, 15 Jan 2015 11:37:47 +0000
(11:37 +0000)
rsnd_ssi::rate is not used. Let's remove it
Signed-off-by: Kuninori Morimoto <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/sh/rcar/ssi.c
patch
|
blob
|
history
diff --git
a/sound/soc/sh/rcar/ssi.c
b/sound/soc/sh/rcar/ssi.c
index 3844fbef46649db6133b7e3e4266d8f014eb28ae..df10585dd3251a759eb1d6dfe5d0c749f14749c1 100644
(file)
--- a/
sound/soc/sh/rcar/ssi.c
+++ b/
sound/soc/sh/rcar/ssi.c
@@
-70,7
+70,6
@@
struct rsnd_ssi {
u32 cr_clk;
int err;
unsigned int usrcnt;
- unsigned int rate;
};
#define for_each_rsnd_ssi(pos, priv, i) \
@@
-157,7
+156,6
@@
static int rsnd_ssi_master_clk_start(struct rsnd_ssi *ssi,
ret = rsnd_adg_ssi_clk_try_start(&ssi->mod, main_rate);
if (0 == ret) {
- ssi->rate = rate;
ssi->cr_clk = FORCE | SWL_32 |
SCKD | SWSD | CKDV(j);
@@
-176,7
+174,6
@@
static int rsnd_ssi_master_clk_start(struct rsnd_ssi *ssi,
static void rsnd_ssi_master_clk_stop(struct rsnd_ssi *ssi)
{
- ssi->rate = 0;
ssi->cr_clk = 0;
rsnd_adg_ssi_clk_stop(&ssi->mod);
}