Skip to contentSkip to conversation

ASoC: wm2000: remove unused #include <linux/version.h>

PATCH Applied Huang Weiyi 3 participants 3 messages Apr 8, 2010

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

PATCH 10/16 ASoC: wm2000: remove unused #include <linux/version.h>

Remove unused #include <linux/version.h>('s) in
sound/soc/codecs/wm2000.c

---
 sound/soc/codecs/wm2000.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
sound/soc/codecs/wm2000.c +0 -1
index a34cbcf..002e289 100644
@@ -23,7 +23,6 @@
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
-#include <linux/version.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/firmware.h>
Signature · 1 line
1.6.1.3
#2 lore raw
In reply to Huang Weiyi
Quoted 4 lines · Huang Weiyi

Remove unused #include <linux/version.h>('s) in
sound/soc/codecs/wm2000.c

Applied. Rather than continually posting these patches it would seem a lot better if you were to instead patch checkpatch.pl to warn on use of this header. There's no reason to use it in the bulk of kernel code and it'd be a lot less work to catch these things automatically.