[PATCH 13/42] Staging: go7007: remove unused #include <version.h>

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg Kroah-Hartman
Date: Wednesday, October 22, 2008 - 10:28 am

From: Huang Weiyi <weiyi.huang@gmail.com>

The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
  drivers/staging/go7007/go7007-driver.c
  drivers/staging/go7007/go7007-fw.c
  drivers/staging/go7007/go7007-i2c.c
  drivers/staging/go7007/go7007-usb.c
  drivers/staging/go7007/snd-go7007.c
  drivers/staging/go7007/wis-ov7640.c
  drivers/staging/go7007/wis-saa7113.c
  drivers/staging/go7007/wis-saa7115.c
  drivers/staging/go7007/wis-sony-tuner.c
  drivers/staging/go7007/wis-tw2804.c
  drivers/staging/go7007/wis-tw9903.c
  drivers/staging/go7007/wis-uda1342.c

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

Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
 drivers/staging/go7007/go7007-driver.c  |    1 -
 drivers/staging/go7007/go7007-fw.c      |    1 -
 drivers/staging/go7007/go7007-i2c.c     |    1 -
 drivers/staging/go7007/go7007-usb.c     |    1 -
 drivers/staging/go7007/snd-go7007.c     |    1 -
 drivers/staging/go7007/wis-ov7640.c     |    1 -
 drivers/staging/go7007/wis-saa7113.c    |    1 -
 drivers/staging/go7007/wis-saa7115.c    |    1 -
 drivers/staging/go7007/wis-sony-tuner.c |    1 -
 drivers/staging/go7007/wis-tw2804.c     |    1 -
 drivers/staging/go7007/wis-tw9903.c     |    1 -
 drivers/staging/go7007/wis-uda1342.c    |    1 -
 12 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/drivers/staging/go7007/go7007-driver.c b/drivers/staging/go7007/go7007-driver.c
index 81ae4b0..e4ead96 100644
--- a/drivers/staging/go7007/go7007-driver.c
+++ b/drivers/staging/go7007/go7007-driver.c
@@ -16,7 +16,6 @@
  */
 
 #include <linux/module.h>
-#include <linux/version.h>
 #include <linux/init.h>
 #include <linux/delay.h>
 #include <linux/sched.h>
diff --git a/drivers/staging/go7007/go7007-fw.c b/drivers/staging/go7007/go7007-fw.c
index c2aea10..a0e17b0 100644
--- a/drivers/staging/go7007/go7007-fw.c
+++ b/drivers/staging/go7007/go7007-fw.c
@@ -26,7 +26,6 @@
 
 #include <linux/module.h>
 #include <linux/init.h>
-#include <linux/version.h>
 #include <linux/time.h>
 #include <linux/mm.h>
 #include <linux/device.h>
diff --git a/drivers/staging/go7007/go7007-i2c.c b/drivers/staging/go7007/go7007-i2c.c
index 10baae3..cd55b76 100644
--- a/drivers/staging/go7007/go7007-i2c.c
+++ b/drivers/staging/go7007/go7007-i2c.c
@@ -15,7 +15,6 @@
  * Inc., 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
  */
 
-#include <linux/version.h>
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/delay.h>
diff --git a/drivers/staging/go7007/go7007-usb.c b/drivers/staging/go7007/go7007-usb.c
index d4ed6d2..3f5ee34 100644
--- a/drivers/staging/go7007/go7007-usb.c
+++ b/drivers/staging/go7007/go7007-usb.c
@@ -16,7 +16,6 @@
  */
 
 #include <linux/module.h>
-#include <linux/version.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/wait.h>
diff --git a/drivers/staging/go7007/snd-go7007.c b/drivers/staging/go7007/snd-go7007.c
index 382740c..a7de401 100644
--- a/drivers/staging/go7007/snd-go7007.c
+++ b/drivers/staging/go7007/snd-go7007.c
@@ -17,7 +17,6 @@
 
 #include <linux/kernel.h>
 #include <linux/module.h>
-#include <linux/version.h>
 #include <linux/moduleparam.h>
 #include <linux/init.h>
 #include <linux/spinlock.h>
diff --git a/drivers/staging/go7007/wis-ov7640.c b/drivers/staging/go7007/wis-ov7640.c
index f5f11e9..2f9efca 100644
--- a/drivers/staging/go7007/wis-ov7640.c
+++ b/drivers/staging/go7007/wis-ov7640.c
@@ -17,7 +17,6 @@
 
 #include <linux/module.h>
 #include <linux/init.h>
-#include <linux/version.h>
 #include <linux/i2c.h>
 #include <linux/videodev2.h>
 
diff --git a/drivers/staging/go7007/wis-saa7113.c b/drivers/staging/go7007/wis-saa7113.c
index c1aff1b..1168972 100644
--- a/drivers/staging/go7007/wis-saa7113.c
+++ b/drivers/staging/go7007/wis-saa7113.c
@@ -17,7 +17,6 @@
 
 #include <linux/module.h>
 #include <linux/init.h>
-#include <linux/version.h>
 #include <linux/i2c.h>
 #include <linux/videodev2.h>
 #include <linux/ioctl.h>
diff --git a/drivers/staging/go7007/wis-saa7115.c b/drivers/staging/go7007/wis-saa7115.c
index 5c94c88..59417a7 100644
--- a/drivers/staging/go7007/wis-saa7115.c
+++ b/drivers/staging/go7007/wis-saa7115.c
@@ -17,7 +17,6 @@
 
 #include <linux/module.h>
 #include <linux/init.h>
-#include <linux/version.h>
 #include <linux/i2c.h>
 #include <linux/videodev2.h>
 #include <linux/ioctl.h>
diff --git a/drivers/staging/go7007/wis-sony-tuner.c b/drivers/staging/go7007/wis-sony-tuner.c
index 5997fb4..5a91ee4 100644
--- a/drivers/staging/go7007/wis-sony-tuner.c
+++ b/drivers/staging/go7007/wis-sony-tuner.c
@@ -17,7 +17,6 @@
 
 #include <linux/module.h>
 #include <linux/init.h>
-#include <linux/version.h>
 #include <linux/i2c.h>
 #include <linux/videodev2.h>
 #include <media/tuner.h>
diff --git a/drivers/staging/go7007/wis-tw2804.c b/drivers/staging/go7007/wis-tw2804.c
index 27fe4d0..57b8f2b 100644
--- a/drivers/staging/go7007/wis-tw2804.c
+++ b/drivers/staging/go7007/wis-tw2804.c
@@ -17,7 +17,6 @@
 
 #include <linux/module.h>
 #include <linux/init.h>
-#include <linux/version.h>
 #include <linux/i2c.h>
 #include <linux/videodev2.h>
 #include <linux/ioctl.h>
diff --git a/drivers/staging/go7007/wis-tw9903.c b/drivers/staging/go7007/wis-tw9903.c
index d8e4196..40627b2 100644
--- a/drivers/staging/go7007/wis-tw9903.c
+++ b/drivers/staging/go7007/wis-tw9903.c
@@ -17,7 +17,6 @@
 
 #include <linux/module.h>
 #include <linux/init.h>
-#include <linux/version.h>
 #include <linux/i2c.h>
 #include <linux/videodev2.h>
 #include <linux/ioctl.h>
diff --git a/drivers/staging/go7007/wis-uda1342.c b/drivers/staging/go7007/wis-uda1342.c
index a0894e3..555645c 100644
--- a/drivers/staging/go7007/wis-uda1342.c
+++ b/drivers/staging/go7007/wis-uda1342.c
@@ -17,7 +17,6 @@
 
 #include <linux/module.h>
 #include <linux/init.h>
-#include <linux/version.h>
 #include <linux/i2c.h>
 #include <linux/videodev2.h>
 #include <media/tvaudio.h>
-- 
1.6.0.2

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PATCH] more STAGING patches for 2.6.28, Greg KH, (Wed Oct 22, 10:22 am)
[PATCH 01/42] Staging: add pcc-acpi driver, Greg Kroah-Hartman, (Wed Oct 22, 10:28 am)
[PATCH 02/42] Staging: W35UND should depend on USB, Greg Kroah-Hartman, (Wed Oct 22, 10:28 am)
[PATCH 03/42] linux-next: build failure, Greg Kroah-Hartman, (Wed Oct 22, 10:28 am)
[PATCH 04/42] Staging: document 4k stack problem for winbo ..., Greg Kroah-Hartman, (Wed Oct 22, 10:28 am)
[PATCH 05/42] Staging: Fix leak in drivers/staging/at76_usb.c, Greg Kroah-Hartman, (Wed Oct 22, 10:28 am)
[PATCH 06/42] staging: fix potential build error in slicos ..., Greg Kroah-Hartman, (Wed Oct 22, 10:28 am)
[PATCH 07/42] staging: balance parenthesis in wlan-ng headers, Greg Kroah-Hartman, (Wed Oct 22, 10:28 am)
[PATCH 08/42] Staging: Fixes for me4000 pci data collectio ..., Greg Kroah-Hartman, (Wed Oct 22, 10:28 am)
[PATCH 09/42] Staging: SLICOSS: remove duplicated #include's, Greg Kroah-Hartman, (Wed Oct 22, 10:28 am)
[PATCH 10/42] Staging: et131x: remove duplicated #include's, Greg Kroah-Hartman, (Wed Oct 22, 10:28 am)
[PATCH 11/42] Staging: wlan-ng: prism2: remove duplicated ..., Greg Kroah-Hartman, (Wed Oct 22, 10:28 am)
[PATCH 12/42] staging: wlan-ng: prism2: remove more duplic ..., Greg Kroah-Hartman, (Wed Oct 22, 10:28 am)
[PATCH 13/42] Staging: go7007: remove unused #include <ver ..., Greg Kroah-Hartman, (Wed Oct 22, 10:28 am)
[PATCH 14/42] Staging: SLICOSS: remove unused #include &lt;ve ..., Greg Kroah-Hartman, (Wed Oct 22, 10:28 am)
[PATCH 15/42] Staging: w35und: remove some typedefs, Greg Kroah-Hartman, (Wed Oct 22, 10:28 am)
[PATCH 16/42] Staging: sxg: replace __FUNCTION__ with __func__, Greg Kroah-Hartman, (Wed Oct 22, 10:28 am)
[PATCH 17/42] Staging: echo: A separate oslec.h for extern ..., Greg Kroah-Hartman, (Wed Oct 22, 10:28 am)
[PATCH 18/42] Staging: echo: Export interface functions. A ..., Greg Kroah-Hartman, (Wed Oct 22, 10:28 am)
[PATCH 19/42] Staging: echo: Replace echo_can_state_t with ..., Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 20/42] Staging: echo: Changed preffix from echo_can ..., Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 21/42] Staging: echo: Replace __BLACKFIN__ASM__ wit ..., Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 22/42] Staging: echo: fix kmalloc()/kfree() uses, Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 23/42] Staging: echo: remove dead code, Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 24/42] Staging: echo: remove __cplusplus macro magic, Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 26/42] Staging: wlan-ng: fix build error if wireles ..., Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 27/42] Staging: add poch driver, Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 28/42] Staging: remove remaining uses of __FUNCTION__, Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 29/42] Staging: Clean up sxg driver, Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 30/42] Staging: pcc-acpi: update to latest version, Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 31/42] Staging: PCC-ACPI: Fix all checkpatch errors, Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 32/42] Staging: SLICOSS: Free multicast list at dri ..., Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 33/42] Staging: Lindent the echo driver, Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 34/42] Staging: sxg: clean up C99 comments, Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 35/42] Staging: sxg: fix up unused function warnings, Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 36/42] Staging: sxg: fix compiler warnings., Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 37/42] Staging: w35und: remove spinlock wrappers, Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 38/42] Staging: w35und: use gotos for error handling, Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 39/42] Staging: w35und: module init cleanup, Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 40/42] Staging: wbusb: fix a bunch of compiler warnings, Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 41/42] Staging: me4000: remove some compiler warnings, Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
[PATCH 42/42] Staging: usbip: fix build warning on 64bit k ..., Greg Kroah-Hartman, (Wed Oct 22, 10:29 am)
Re: [PATCH 01/42] Staging: add pcc-acpi driver, Len Brown, (Wed Oct 22, 11:37 am)
Re: [PATCH 01/42] Staging: add pcc-acpi driver, Greg KH, (Wed Oct 22, 11:48 am)
Re: [PATCH 01/42] Staging: add pcc-acpi driver, Len Brown, (Wed Oct 22, 7:49 pm)
Re: [PATCH 01/42] Staging: add pcc-acpi driver, Greg KH, (Wed Oct 22, 9:55 pm)
[GIT PATCH] delete pcc_acpi, Len Brown, (Thu Oct 23, 12:26 pm)
Re: [GIT PATCH] delete pcc_acpi, Greg KH, (Thu Oct 23, 1:22 pm)