[alsa-devel] [PATCH 1/2] ASoC: Remove unused fields in struct mfld_mc_private

Axel Lin axel.lin at gmail.com
Tue Sep 27 04:38:07 CEST 2011


Both *socdev and *codec of struct mfld_mc_private are not being used
in this driver, remove it.

Signed-off-by: Axel Lin <axel.lin at gmail.com>
---
 sound/soc/mid-x86/mfld_machine.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/sound/soc/mid-x86/mfld_machine.c b/sound/soc/mid-x86/mfld_machine.c
index 429aa1b..1d818dc 100644
--- a/sound/soc/mid-x86/mfld_machine.c
+++ b/sound/soc/mid-x86/mfld_machine.c
@@ -54,9 +54,7 @@ static unsigned int	hs_switch;
 static unsigned int	lo_dac;
 
 struct mfld_mc_private {
-	struct platform_device *socdev;
 	void __iomem *int_base;
-	struct snd_soc_codec *codec;
 	u8 interrupt_status;
 };
 
-- 
1.7.4.1





More information about the Alsa-devel mailing list