Skip to contentSkip to conversation

remove unused #include <version.h>

ALSA Huang Weiyi 2 participants 2 messages Aug 23, 2008 – Aug 25, 2008

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

The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
sound/mips/au1x00.c
sound/soc/at32/playpaq_wm8510.c sound/soc/at91/eti_b1_wm8731.c

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

sound/mips/au1x00.c +0 -1
index ee0741f..fbef38a 100644
@@ -38,7 +38,6 @@
 #include <linux/interrupt.h>
 #include <linux/init.h>
 #include <linux/slab.h>
-#include <linux/version.h>
 #include <sound/core.h>
 #include <sound/initval.h>
 #include <sound/pcm.h>
sound/soc/at32/playpaq_wm8510.c +0 -1
index 3f32621..fd2b2f3 100644
@@ -22,7 +22,6 @@
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
-#include <linux/version.h>
 #include <linux/kernel.h>
 #include <linux/errno.h>
 #include <linux/clk.h>
sound/soc/at91/eti_b1_wm8731.c +0 -1
index b081e83..b81d6b2 100644
@@ -22,7 +22,6 @@
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
-#include <linux/version.h>
 #include <linux/kernel.h>
 #include <linux/clk.h>
 #include <linux/timer.h>
#1 lore raw

At Sat, 23 Aug 2008 13:56:37 +0800,

Quoted 9 lines · Huang Weiyi

The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
sound/mips/au1x00.c
sound/soc/at32/playpaq_wm8510.c sound/soc/at91/eti_b1_wm8731.c

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

Thanks.

It seems that Adrian already pushed a similar patch to Linus, and already merged in the upstream.

Takashi