diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2009-10-10 05:35:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-12 02:16:16 -0400 |
commit | fda9b77c10a4db06e1431e6494a69e93a9dc5491 (patch) | |
tree | 3658de17a402f241009b12d302e99abcbf10b3dc /drivers | |
parent | 52e55f3cde3ac3c7982dbc0cc67075456b135a31 (diff) |
qlge: Get rid of firmware handler debug code.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/qlge/qlge_mpi.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/net/qlge/qlge_mpi.c b/drivers/net/qlge/qlge_mpi.c index 9c0dfe017395..e497eac5eb45 100644 --- a/drivers/net/qlge/qlge_mpi.c +++ b/drivers/net/qlge/qlge_mpi.c | |||
@@ -1,25 +1,5 @@ | |||
1 | #include "qlge.h" | 1 | #include "qlge.h" |
2 | 2 | ||
3 | static void ql_display_mb_sts(struct ql_adapter *qdev, | ||
4 | struct mbox_params *mbcp) | ||
5 | { | ||
6 | int i; | ||
7 | static char *err_sts[] = { | ||
8 | "Command Complete", | ||
9 | "Command Not Supported", | ||
10 | "Host Interface Error", | ||
11 | "Checksum Error", | ||
12 | "Unused Completion Status", | ||
13 | "Test Failed", | ||
14 | "Command Parameter Error"}; | ||
15 | |||
16 | QPRINTK(qdev, DRV, DEBUG, "%s.\n", | ||
17 | err_sts[mbcp->mbox_out[0] & 0x0000000f]); | ||
18 | for (i = 0; i < mbcp->out_count; i++) | ||
19 | QPRINTK(qdev, DRV, DEBUG, "mbox_out[%d] = 0x%.08x.\n", | ||
20 | i, mbcp->mbox_out[i]); | ||
21 | } | ||
22 | |||
23 | int ql_read_mpi_reg(struct ql_adapter *qdev, u32 reg, u32 *data) | 3 | int ql_read_mpi_reg(struct ql_adapter *qdev, u32 reg, u32 *data) |
24 | { | 4 | { |
25 | int status; | 5 | int status; |
@@ -540,7 +520,6 @@ static int ql_mailbox_command(struct ql_adapter *qdev, struct mbox_params *mbcp) | |||
540 | MB_CMD_STS_GOOD) && | 520 | MB_CMD_STS_GOOD) && |
541 | ((mbcp->mbox_out[0] & 0x0000f000) != | 521 | ((mbcp->mbox_out[0] & 0x0000f000) != |
542 | MB_CMD_STS_INTRMDT)) { | 522 | MB_CMD_STS_INTRMDT)) { |
543 | ql_display_mb_sts(qdev, mbcp); | ||
544 | status = -EIO; | 523 | status = -EIO; |
545 | } | 524 | } |
546 | end: | 525 | end: |