aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2008-04-18 22:15:50 -0400
committerMatthew Wilcox <willy@linux.intel.com>2008-04-18 22:15:50 -0400
commit5f090dcb4d4fff373ce7165bce4ba5e87534d50a (patch)
tree7555518ce0687cc7de59aa271081cf648fc8a759 /drivers
parent950e4da32426859ee4b37b2c95026d4f1efa5d05 (diff)
net: Remove unnecessary inclusions of asm/semaphore.h
None of these files use any of the functionality promised by asm/semaphore.h. It's possible that they rely on it dragging in some unrelated header file, but I can't build all these files, so we'll have fix any build failures as they come up. Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/cxgb3/adapter.h1
-rw-r--r--drivers/net/cxgb3/t3cdev.h1
-rw-r--r--drivers/net/ibmveth.c1
-rw-r--r--drivers/net/netxen/netxen_nic_hdr.h1
-rw-r--r--drivers/net/usb/kaweth.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/cxgb3/adapter.h b/drivers/net/cxgb3/adapter.h
index eb305a0895fc..4fdb13f8447b 100644
--- a/drivers/net/cxgb3/adapter.h
+++ b/drivers/net/cxgb3/adapter.h
@@ -43,7 +43,6 @@
43#include <linux/mutex.h> 43#include <linux/mutex.h>
44#include <linux/bitops.h> 44#include <linux/bitops.h>
45#include "t3cdev.h" 45#include "t3cdev.h"
46#include <asm/semaphore.h>
47#include <asm/io.h> 46#include <asm/io.h>
48 47
49struct vlan_group; 48struct vlan_group;
diff --git a/drivers/net/cxgb3/t3cdev.h b/drivers/net/cxgb3/t3cdev.h
index 77fcc1a4984e..a18c8a140424 100644
--- a/drivers/net/cxgb3/t3cdev.h
+++ b/drivers/net/cxgb3/t3cdev.h
@@ -34,7 +34,6 @@
34 34
35#include <linux/list.h> 35#include <linux/list.h>
36#include <asm/atomic.h> 36#include <asm/atomic.h>
37#include <asm/semaphore.h>
38#include <linux/netdevice.h> 37#include <linux/netdevice.h>
39#include <linux/proc_fs.h> 38#include <linux/proc_fs.h>
40#include <linux/skbuff.h> 39#include <linux/skbuff.h>
diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c
index bb31e09899fc..ce4fc2ec2fe4 100644
--- a/drivers/net/ibmveth.c
+++ b/drivers/net/ibmveth.c
@@ -49,7 +49,6 @@
49#include <linux/in.h> 49#include <linux/in.h>
50#include <linux/ip.h> 50#include <linux/ip.h>
51#include <net/net_namespace.h> 51#include <net/net_namespace.h>
52#include <asm/semaphore.h>
53#include <asm/hvcall.h> 52#include <asm/hvcall.h>
54#include <asm/atomic.h> 53#include <asm/atomic.h>
55#include <asm/vio.h> 54#include <asm/vio.h>
diff --git a/drivers/net/netxen/netxen_nic_hdr.h b/drivers/net/netxen/netxen_nic_hdr.h
index 160f605e58db..24d027e29c45 100644
--- a/drivers/net/netxen/netxen_nic_hdr.h
+++ b/drivers/net/netxen/netxen_nic_hdr.h
@@ -34,7 +34,6 @@
34#include <linux/kernel.h> 34#include <linux/kernel.h>
35#include <linux/version.h> 35#include <linux/version.h>
36 36
37#include <asm/semaphore.h>
38#include <linux/spinlock.h> 37#include <linux/spinlock.h>
39#include <asm/irq.h> 38#include <asm/irq.h>
40#include <linux/init.h> 39#include <linux/init.h>
diff --git a/drivers/net/usb/kaweth.c b/drivers/net/usb/kaweth.c
index 569ad8bfd383..0dcfc0310264 100644
--- a/drivers/net/usb/kaweth.c
+++ b/drivers/net/usb/kaweth.c
@@ -58,7 +58,6 @@
58#include <linux/dma-mapping.h> 58#include <linux/dma-mapping.h>
59#include <linux/wait.h> 59#include <linux/wait.h>
60#include <asm/uaccess.h> 60#include <asm/uaccess.h>
61#include <asm/semaphore.h>
62#include <asm/byteorder.h> 61#include <asm/byteorder.h>
63 62
64#undef DEBUG 63#undef DEBUG