Patchwork [net-next] net: fix warning of versioncheck

login
register
mail settings
Submitter Shan Wei
Date July 7, 2011, 3:08 a.m.
Message ID <4E152325.4050202@cn.fujitsu.com>
Download mbox | patch
Permalink /patch/103602/
State Accepted
Delegated to: David Miller
Headers show

Comments

Shan Wei - July 7, 2011, 3:08 a.m.
net-next-2.6/drivers/net/bnx2x/bnx2x_sp.c: 19 linux/version.h not needed.
net-next-2.6/drivers/net/caif/caif_hsi.c: 9 linux/version.h not needed.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
---
 drivers/net/bnx2x/bnx2x_sp.c |    1 -
 drivers/net/caif/caif_hsi.c  |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
David Miller - July 7, 2011, 7:26 a.m.
From: Shan Wei <shanwei@cn.fujitsu.com>
Date: Thu, 07 Jul 2011 11:08:21 +0800

> 
> net-next-2.6/drivers/net/bnx2x/bnx2x_sp.c: 19 linux/version.h not needed.
> net-next-2.6/drivers/net/caif/caif_hsi.c: 9 linux/version.h not needed.
> 
> Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>

Applied.
--
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/bnx2x/bnx2x_sp.c b/drivers/net/bnx2x/bnx2x_sp.c
index 5bdf094..f6322a1 100644
--- a/drivers/net/bnx2x/bnx2x_sp.c
+++ b/drivers/net/bnx2x/bnx2x_sp.c
@@ -16,7 +16,6 @@ 
  * Written by: Vladislav Zolotarov
  *
  */
-#include <linux/version.h>
 #include <linux/module.h>
 #include <linux/crc32.h>
 #include <linux/netdevice.h>
diff --git a/drivers/net/caif/caif_hsi.c b/drivers/net/caif/caif_hsi.c
index 016108a..b41c2fc 100644
--- a/drivers/net/caif/caif_hsi.c
+++ b/drivers/net/caif/caif_hsi.c
@@ -6,7 +6,6 @@ 
  * License terms: GNU General Public License (GPL) version 2.
  */
 
-#include <linux/version.h>
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/device.h>