2010-06-10 23:54:18

by Grant Likely

[permalink] [raw]
Subject: [PATCH] ASoC: Remove unused header

The header contains an extern that isn't used by anything. Remove.

Signed-off-by: Grant Likely <[email protected]>
Cc: Liam Girdwood <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Jon Smirl <[email protected]>
Cc: Herb Peyerl <[email protected]>
---
sound/soc/fsl/mpc5200_psc_i2s.c | 1 -
sound/soc/fsl/mpc5200_psc_i2s.h | 12 ------------
2 files changed, 0 insertions(+), 13 deletions(-)
delete mode 100644 sound/soc/fsl/mpc5200_psc_i2s.h

diff --git a/sound/soc/fsl/mpc5200_psc_i2s.c b/sound/soc/fsl/mpc5200_psc_i2s.c
index 4f455bd..676841c 100644
--- a/sound/soc/fsl/mpc5200_psc_i2s.c
+++ b/sound/soc/fsl/mpc5200_psc_i2s.c
@@ -16,7 +16,6 @@

#include <asm/mpc52xx_psc.h>

-#include "mpc5200_psc_i2s.h"
#include "mpc5200_dma.h"

/**
diff --git a/sound/soc/fsl/mpc5200_psc_i2s.h b/sound/soc/fsl/mpc5200_psc_i2s.h
deleted file mode 100644
index ce55e07..0000000
--- a/sound/soc/fsl/mpc5200_psc_i2s.h
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- * Freescale MPC5200 PSC in I2S mode
- * ALSA SoC Digital Audio Interface (DAI) driver
- *
- */
-
-#ifndef __SOUND_SOC_FSL_MPC52xx_PSC_I2S_H__
-#define __SOUND_SOC_FSL_MPC52xx_PSC_I2S_H__
-
-extern struct snd_soc_dai psc_i2s_dai[];
-
-#endif /* __SOUND_SOC_FSL_MPC52xx_PSC_I2S_H__ */


2010-06-11 09:50:57

by Liam Girdwood

[permalink] [raw]
Subject: Re: [PATCH] ASoC: Remove unused header

On Thu, 2010-06-10 at 17:54 -0600, Grant Likely wrote:
> The header contains an extern that isn't used by anything. Remove.
>
> Signed-off-by: Grant Likely <[email protected]>
> Cc: Liam Girdwood <[email protected]>
> Cc: Mark Brown <[email protected]>
> Cc: Jon Smirl <[email protected]>
> Cc: Herb Peyerl <[email protected]>
> ---
> sound/soc/fsl/mpc5200_psc_i2s.c | 1 -
> sound/soc/fsl/mpc5200_psc_i2s.h | 12 ------------
> 2 files changed, 0 insertions(+), 13 deletions(-)
> delete mode 100644 sound/soc/fsl/mpc5200_psc_i2s.h

Acked-by: Liam Girdwood <[email protected]>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

2010-06-12 17:07:22

by Mark Brown

[permalink] [raw]
Subject: Re: [alsa-devel] [PATCH] ASoC: Remove unused header

On Fri, Jun 11, 2010 at 10:50:40AM +0100, Liam Girdwood wrote:
> On Thu, 2010-06-10 at 17:54 -0600, Grant Likely wrote:
> > The header contains an extern that isn't used by anything. Remove.

> > Signed-off-by: Grant Likely <[email protected]>

> Acked-by: Liam Girdwood <[email protected]>

Applied, thanks.