Huang Weiyi | 17 Aug 01:47

[SOUND/SOC] removed unused #include <version.h>

The files below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
  sound/soc/codecs/wm8753.c
  sound/soc/codecs/wm9712.c

This patch removes the said #include <version.h>.

Signed-off-by: Huang Weiyi <weiyi.huang <at> gmail.com>

diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c
index 8604809..dc7b18f 100644
--- a/sound/soc/codecs/wm8753.c
+++ b/sound/soc/codecs/wm8753.c
@@ -34,7 +34,6 @@

 #include <linux/module.h>
 #include <linux/moduleparam.h>
-#include <linux/version.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/delay.h>
diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c
index 1fb7f9a..2f1c91b 100644
--- a/sound/soc/codecs/wm9712.c
+++ b/sound/soc/codecs/wm9712.c
@@ -13,7 +13,6 @@

 #include <linux/init.h>
 #include <linux/module.h>
-#include <linux/version.h>
 #include <linux/kernel.h>
(Continue reading)

Takashi Iwai | 17 Aug 10:11
Favicon

Re: [SOUND/SOC] removed unused #include <version.h>

At Sun, 17 Aug 2008 07:51:15 +0800,
Huang Weiyi wrote:
> 
> The files below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
>   sound/soc/codecs/wm8753.c
>   sound/soc/codecs/wm9712.c
> 
> This patch removes the said #include <version.h>.

Thanks.  Looks like we have more in the latest ALSA tree...

Takashi

> 
> Signed-off-by: Huang Weiyi <weiyi.huang <at> gmail.com>
> 
> diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c
> index 8604809..dc7b18f 100644
> --- a/sound/soc/codecs/wm8753.c
> +++ b/sound/soc/codecs/wm8753.c
> @@ -34,7 +34,6 @@
>  
>  #include <linux/module.h>
>  #include <linux/moduleparam.h>
> -#include <linux/version.h>
>  #include <linux/kernel.h>
>  #include <linux/init.h>
>  #include <linux/delay.h>
> diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c
> index 1fb7f9a..2f1c91b 100644
(Continue reading)


Gmane