diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-10-21 03:50:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-24 18:07:13 -0400 |
commit | fa274cb7e56555e7017050e922b4f14637baa023 (patch) | |
tree | 89e4a2f524f3b907c11ebceaf8f5b93b273b3907 /drivers/net/qlge | |
parent | ac409215faccd146e5c755f131d20310a5febe70 (diff) |
qlge: disable unsed dump code
The driver has lots of unused code to dump data structures to
console. Use existing simple way to remove the code with ifdef.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge')
-rw-r--r-- | drivers/net/qlge/qlge.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h index 2b7a018593b9..22821398fc63 100644 --- a/drivers/net/qlge/qlge.h +++ b/drivers/net/qlge/qlge.h | |||
@@ -2243,14 +2243,12 @@ void ql_check_lb_frame(struct ql_adapter *, struct sk_buff *); | |||
2243 | int ql_own_firmware(struct ql_adapter *qdev); | 2243 | int ql_own_firmware(struct ql_adapter *qdev); |
2244 | int ql_clean_lb_rx_ring(struct rx_ring *rx_ring, int budget); | 2244 | int ql_clean_lb_rx_ring(struct rx_ring *rx_ring, int budget); |
2245 | 2245 | ||
2246 | #if 1 | 2246 | /* #define QL_ALL_DUMP */ |
2247 | #define QL_ALL_DUMP | 2247 | /* #define QL_REG_DUMP */ |
2248 | #define QL_REG_DUMP | 2248 | /* #define QL_DEV_DUMP */ |
2249 | #define QL_DEV_DUMP | 2249 | /* #define QL_CB_DUMP */ |
2250 | #define QL_CB_DUMP | ||
2251 | /* #define QL_IB_DUMP */ | 2250 | /* #define QL_IB_DUMP */ |
2252 | /* #define QL_OB_DUMP */ | 2251 | /* #define QL_OB_DUMP */ |
2253 | #endif | ||
2254 | 2252 | ||
2255 | #ifdef QL_REG_DUMP | 2253 | #ifdef QL_REG_DUMP |
2256 | extern void ql_dump_xgmac_control_regs(struct ql_adapter *qdev); | 2254 | extern void ql_dump_xgmac_control_regs(struct ql_adapter *qdev); |