mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 09:02:17 +00:00
ASoC: WM8985: Remove unneeded declaration.
We are not using the private data in this function, so get rid of it. Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
591796b82a
commit
fc38a8a11d
@ -557,12 +557,10 @@ static int wm8985_dac_mute(struct snd_soc_dai *dai, int mute)
|
||||
|
||||
static int wm8985_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
|
||||
{
|
||||
struct wm8985_priv *wm8985;
|
||||
struct snd_soc_codec *codec;
|
||||
u16 format, master, bcp, lrp;
|
||||
|
||||
codec = dai->codec;
|
||||
wm8985 = snd_soc_codec_get_drvdata(codec);
|
||||
|
||||
switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) {
|
||||
case SND_SOC_DAIFMT_I2S:
|
||||
|
Loading…
Reference in New Issue
Block a user