Skip to contentSkip to conversation

ALSA: ASoC codec: remove unused #include <version.h>

PATCH Applied Huang Weiyi 2 participants 2 messages Oct 12, 2008 – Oct 13, 2008

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

The files below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
sound/soc/codecs/ad1980.c
sound/soc/codecs/wm8580.c
sound/soc/codecs/wm8900.c

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

sound/soc/codecs/ad1980.c +0 -1
index 4e09c1f..1397b8e 100644
@@ -13,7 +13,6 @@
 
 #include <linux/init.h>
 #include <linux/module.h>
-#include <linux/version.h>
 #include <linux/kernel.h>
 #include <linux/device.h>
 #include <sound/core.h>
sound/soc/codecs/wm8580.c +0 -1
index df1ffbe..a10edda 100644
@@ -18,7 +18,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>
sound/soc/codecs/wm8900.c +0 -1
index 0b8c6d3..3b326c9 100644
@@ -18,7 +18,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>
Applied
#1 lore raw

At Sun, 12 Oct 2008 23:12:56 +0800,

Quoted 9 lines · Huang Weiyi

The files below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
sound/soc/codecs/ad1980.c
sound/soc/codecs/wm8580.c
sound/soc/codecs/wm8900.c

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

Thanks, applied now.

Takashi

Quoted 42 lines
sound/soc/codecs/ad1980.c +0 -1
index 4e09c1f..1397b8e 100644
@@ -13,7 +13,6 @@
 
 #include <linux/init.h>
 #include <linux/module.h>
-#include <linux/version.h>
 #include <linux/kernel.h>
 #include <linux/device.h>
 #include <sound/core.h>
sound/soc/codecs/wm8580.c +0 -1
index df1ffbe..a10edda 100644
@@ -18,7 +18,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>
sound/soc/codecs/wm8900.c +0 -1
index 0b8c6d3..3b326c9 100644
@@ -18,7 +18,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>

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel