diff options
author | Michael Chan <mchan@broadcom.com> | 2008-01-30 00:35:40 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-31 22:27:15 -0500 |
commit | 62a8313cddbea04f2a28d1d76acf317c2a56cfae (patch) | |
tree | fc4f14124044b98b417df64b607386e24e0789c4 /drivers/net/bnx2.h | |
parent | 2726d6e126c0c16efeba30356d4ae105f1854d1e (diff) |
[BNX2]: Remove CTX_WR macro.
The CTX_WR macro is unnecessary and obfuscates the code.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.h')
-rw-r--r-- | drivers/net/bnx2.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h index fb3c019c3a4c..c5fe34013548 100644 --- a/drivers/net/bnx2.h +++ b/drivers/net/bnx2.h | |||
@@ -6814,13 +6814,6 @@ struct bnx2 { | |||
6814 | #define REG_WR16(bp, offset, val) \ | 6814 | #define REG_WR16(bp, offset, val) \ |
6815 | writew(val, bp->regview + offset) | 6815 | writew(val, bp->regview + offset) |
6816 | 6816 | ||
6817 | /* Indirect context access. Unlike the MBQ_WR, these macros will not | ||
6818 | * trigger a chip event. */ | ||
6819 | static void bnx2_ctx_wr(struct bnx2 *bp, u32 cid_addr, u32 offset, u32 val); | ||
6820 | |||
6821 | #define CTX_WR(bp, cid_addr, offset, val) \ | ||
6822 | bnx2_ctx_wr(bp, cid_addr, offset, val) | ||
6823 | |||
6824 | struct cpu_reg { | 6817 | struct cpu_reg { |
6825 | u32 mode; | 6818 | u32 mode; |
6826 | u32 mode_value_halt; | 6819 | u32 mode_value_halt; |