diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-11-05 18:07:31 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:03:45 -0800 |
commit | 993fb90c5b1727342362c43ed4e29c26682f54f7 (patch) | |
tree | c151fa32d24fd1725d425561874b12e9b701421e /drivers/net/netxen/netxen_nic_phan_reg.h | |
parent | 3957d63da0067ad6a7dc8261b7eeb824f9dc42b4 (diff) | |
download | kernel_samsung_smdk4412-993fb90c5b1727342362c43ed4e29c26682f54f7.zip kernel_samsung_smdk4412-993fb90c5b1727342362c43ed4e29c26682f54f7.tar.gz kernel_samsung_smdk4412-993fb90c5b1727342362c43ed4e29c26682f54f7.tar.bz2 |
drivers/net/netxen/: cleanups
This patch contains the following cleanups:
- static functions in .c files shouldn't be marked inline
- make needlessly global code static
- #if 0 unused code
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_phan_reg.h')
-rw-r--r-- | drivers/net/netxen/netxen_nic_phan_reg.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/netxen/netxen_nic_phan_reg.h b/drivers/net/netxen/netxen_nic_phan_reg.h index 10fe6fa..a6c28de 100644 --- a/drivers/net/netxen/netxen_nic_phan_reg.h +++ b/drivers/net/netxen/netxen_nic_phan_reg.h @@ -165,14 +165,7 @@ struct netxen_recv_crb { u32 crb_status_ring_size; }; -#if defined(DEFINE_GLOBAL_RECV_CRB) -#else extern struct netxen_recv_crb recv_crb_registers[]; -extern u64 ctx_addr_sig_regs[][3]; -#endif /* DEFINE_GLOBAL_RECEIVE_CRB */ -#define CRB_CTX_ADDR_REG_LO(FUNC_ID) (ctx_addr_sig_regs[FUNC_ID][0]) -#define CRB_CTX_ADDR_REG_HI(FUNC_ID) (ctx_addr_sig_regs[FUNC_ID][2]) -#define CRB_CTX_SIGNATURE_REG(FUNC_ID) (ctx_addr_sig_regs[FUNC_ID][1]) /* * Temperature control. |