summaryrefslogtreecommitdiffstats
path: root/drivers/net/qla3xxx.c
diff options
context:
space:
mode:
authorRon Mercer <ron.mercer@qlogic.com>2008-07-31 13:46:07 -0700
committerJeff Garzik <jgarzik@redhat.com>2008-08-07 02:11:14 -0400
commit4ea0d6e5b8dc6c46c1a981e971fa0b78bfe6e5d3 (patch)
tree92c697d64a0256e4b4910c2787feb5695fe1470b /drivers/net/qla3xxx.c
parent6bc0ed97d5ddb49248cfb76827d72557f4bd0aae (diff)
downloadlinux-4ea0d6e5b8dc6c46c1a981e971fa0b78bfe6e5d3.tar.gz
linux-4ea0d6e5b8dc6c46c1a981e971fa0b78bfe6e5d3.tar.bz2
linux-4ea0d6e5b8dc6c46c1a981e971fa0b78bfe6e5d3.zip
qla3xxx: cleanup: Remove some unused structure definitions and structure elements.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/qla3xxx.c')
-rw-r--r--drivers/net/qla3xxx.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c
index 51aa027a5099..7d0e83f42154 100644
--- a/drivers/net/qla3xxx.c
+++ b/drivers/net/qla3xxx.c
@@ -3495,8 +3495,6 @@ static void ql_set_mac_info(struct ql3_adapter *qdev)
case ISP_CONTROL_FN0_NET:
qdev->mac_index = 0;
qdev->mac_ob_opcode = OUTBOUND_MAC_IOCB | func_number;
- qdev->tcp_ob_opcode = OUTBOUND_TCP_IOCB | func_number;
- qdev->update_ob_opcode = UPDATE_NCB_IOCB | func_number;
qdev->mb_bit_mask = FN0_MA_BITS_MASK;
qdev->PHYAddr = PORT0_PHY_ADDRESS;
if (port_status & PORT_STATUS_SM0)
@@ -3508,8 +3506,6 @@ static void ql_set_mac_info(struct ql3_adapter *qdev)
case ISP_CONTROL_FN1_NET:
qdev->mac_index = 1;
qdev->mac_ob_opcode = OUTBOUND_MAC_IOCB | func_number;
- qdev->tcp_ob_opcode = OUTBOUND_TCP_IOCB | func_number;
- qdev->update_ob_opcode = UPDATE_NCB_IOCB | func_number;
qdev->mb_bit_mask = FN1_MA_BITS_MASK;
qdev->PHYAddr = PORT1_PHY_ADDRESS;
if (port_status & PORT_STATUS_SM1)