Patchwork jme: remove unused #include <version.h>

login
register
mail settings
Submitter Huang Weiyi
Date Oct. 12, 2008, 3:12 p.m.
Message ID <20081012231101.E7EF.WEIYI.HUANG@gmail.com>
Download mbox | patch
Permalink /patch/4096/
State Accepted
Delegated to: David Miller
Headers show

Comments

Huang Weiyi - Oct. 12, 2008, 3:12 p.m.
The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
  drivers/net/jme.c

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

Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Guo-Fu Tseng - Oct. 12, 2008, 4:20 p.m.
On Sun, 12 Oct 2008 23:12:54 +0800, Huang Weiyi wrote
> The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
>   drivers/net/jme.c
> 
> This patch removes the said #include <version.h>.
> 
> Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>
Got it! Thank you. ^^ 

Guo-Fu Tseng

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - Oct. 13, 2008, 4:09 a.m.
From: Huang Weiyi <weiyi.huang@gmail.com>
Date: Sun, 12 Oct 2008 23:12:54 +0800

> The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
>   drivers/net/jme.c
> 
> This patch removes the said #include <version.h>.
> 
> Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/net/jme.c b/drivers/net/jme.c
index 5f9a131..156f159 100644
--- a/drivers/net/jme.c
+++ b/drivers/net/jme.c
@@ -21,7 +21,6 @@ 
  *
  */

-#include <linux/version.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/pci.h>