[alsa-devel] [PATCH 01/10] ASoC: fsl_ssi: Remove unused struct device

Nicolin Chen nicoleotsuka at gmail.com
Mon Dec 4 21:46:34 CET 2017


struct device is defined in system level header files any way.
As long as fsl_ssi.h is included after those header files, it
should be safe to remove this line.

Signed-off-by: Nicolin Chen <nicoleotsuka at gmail.com>
---
 sound/soc/fsl/fsl_ssi.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sound/soc/fsl/fsl_ssi.h b/sound/soc/fsl/fsl_ssi.h
index 5065105..5cf56d2 100644
--- a/sound/soc/fsl/fsl_ssi.h
+++ b/sound/soc/fsl/fsl_ssi.h
@@ -206,8 +206,6 @@
 #define CCSR_SSI_SACNT_AC97EN		0x00000001
 
 
-struct device;
-
 #if IS_ENABLED(CONFIG_DEBUG_FS)
 
 struct fsl_ssi_dbg {
-- 
2.7.4



More information about the Alsa-devel mailing list