diff options
author | Dhananjay Phadke <dhananjay@netxen.com> | 2009-04-07 18:50:38 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-08 18:58:24 -0400 |
commit | e98e3350c03af4187e1d5fe007c7b460e378990c (patch) | |
tree | 5245bf0e0662ab27d1f8b33e629e4b0d118aa189 /drivers/net/netxen/netxen_nic_hdr.h | |
parent | 577c9c456f0e1371cbade38eaf91ae8e8a308555 (diff) |
netxen: code cleanup
o remove unused structure defs.
o remove unnecessary includes.
o replace enums with specific #defines.
o reduce footprint of stats structure.
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_hdr.h')
-rw-r--r-- | drivers/net/netxen/netxen_nic_hdr.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/netxen/netxen_nic_hdr.h b/drivers/net/netxen/netxen_nic_hdr.h index 016c62129c76..7f0ddbfa7b28 100644 --- a/drivers/net/netxen/netxen_nic_hdr.h +++ b/drivers/net/netxen/netxen_nic_hdr.h | |||
@@ -31,16 +31,8 @@ | |||
31 | #ifndef __NETXEN_NIC_HDR_H_ | 31 | #ifndef __NETXEN_NIC_HDR_H_ |
32 | #define __NETXEN_NIC_HDR_H_ | 32 | #define __NETXEN_NIC_HDR_H_ |
33 | 33 | ||
34 | #include <linux/module.h> | ||
35 | #include <linux/kernel.h> | 34 | #include <linux/kernel.h> |
36 | #include <linux/spinlock.h> | ||
37 | #include <asm/irq.h> | ||
38 | #include <linux/init.h> | ||
39 | #include <linux/errno.h> | ||
40 | #include <linux/pci.h> | ||
41 | #include <linux/types.h> | 35 | #include <linux/types.h> |
42 | #include <asm/uaccess.h> | ||
43 | #include <asm/string.h> /* for memset */ | ||
44 | 36 | ||
45 | /* | 37 | /* |
46 | * The basic unit of access when reading/writing control registers. | 38 | * The basic unit of access when reading/writing control registers. |