Skip to contentSkip to conversation

removed unused #include <version.h>

SOUND/SOC Huang Weiyi 2 participants 2 messages Aug 16, 2008 – Aug 17, 2008

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

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>.

sound/soc/codecs/wm8753.c +0 -1
index 8604809..dc7b18f 100644
@@ -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>
sound/soc/codecs/wm9712.c +0 -1
index 1fb7f9a..2f1c91b 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>
#1 lore raw

At Sun, 17 Aug 2008 07:51:15 +0800,

Quoted 6 lines · Huang Weiyi

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

Quoted 33 lines
sound/soc/codecs/wm8753.c +0 -1
index 8604809..dc7b18f 100644
@@ -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>
sound/soc/codecs/wm9712.c +0 -1
index 1fb7f9a..2f1c91b 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>

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