summaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic_phan_reg.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-11-05 18:07:31 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:03:45 -0800
commit993fb90c5b1727342362c43ed4e29c26682f54f7 (patch)
treec151fa32d24fd1725d425561874b12e9b701421e /drivers/net/netxen/netxen_nic_phan_reg.h
parent3957d63da0067ad6a7dc8261b7eeb824f9dc42b4 (diff)
downloadblackbird-obmc-linux-993fb90c5b1727342362c43ed4e29c26682f54f7.tar.gz
blackbird-obmc-linux-993fb90c5b1727342362c43ed4e29c26682f54f7.zip
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.h7
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 10fe6fafa6f6..a6c28de1dbc5 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.
OpenPOWER on IntegriCloud