From e776696d14b66f7e963d2599b51b8710436f5564 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sat, 22 Apr 2006 02:16:52 +0000 Subject: the scsi transports (fc/fcp and iscsi) now track both itl and itlq structures for scsi. we no longer need the scsi_task_id structure passed by pinfo->private_data so get rid of it. we no longer need the (broken by design) scsi_task_data hash table since this has been replaced byt hte itl and itlq structures and tracking svn path=/trunk/; revision=17952 --- epan/dissectors/packet-ndmp.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'epan/dissectors/packet-ndmp.c') diff --git a/epan/dissectors/packet-ndmp.c b/epan/dissectors/packet-ndmp.c index c0f1120ac9..6d490f3bb9 100644 --- a/epan/dissectors/packet-ndmp.c +++ b/epan/dissectors/packet-ndmp.c @@ -1205,7 +1205,6 @@ dissect_execute_cdb_request(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint32 seq, gint devtype) { conversation_t *conversation; - scsi_task_id_t task_key; /* * We need to provide SCSI task information to the SCSI @@ -1219,9 +1218,6 @@ dissect_execute_cdb_request(tvbuff_t *tvb, int offset, packet_info *pinfo, conversation = conversation_new(pinfo->fd->num, &pinfo->src, &pinfo->dst, pinfo->ptype, pinfo->srcport, pinfo->destport, 0); } - task_key.conv_id = conversation->index; - task_key.task_id = seq; - pinfo->private_data = &task_key; /* flags */ offset = dissect_execute_cdb_flags(tvb, offset, pinfo, tree); @@ -1294,7 +1290,6 @@ dissect_execute_cdb_reply(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint32 seq) { conversation_t *conversation; - scsi_task_id_t task_key; /* * We need to provide SCSI task information to the SCSI @@ -1304,14 +1299,6 @@ dissect_execute_cdb_reply(tvbuff_t *tvb, int offset, packet_info *pinfo, */ conversation = find_conversation(pinfo->fd->num, &pinfo->src, &pinfo->dst, pinfo->ptype, pinfo->srcport, pinfo->destport, 0); - if (conversation != NULL) { - task_key.conv_id = conversation->index; - task_key.task_id = seq; - pinfo->private_data = &task_key; - } else { - /* no conversation, meaning we didn't see the request */ - pinfo->private_data = NULL; - } /* error */ offset=dissect_error(tvb, offset, pinfo, tree, seq); -- cgit v1.2.3