diff options
author | Bill Meier <wmeier@newsguy.com> | 2009-06-24 02:42:43 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2009-06-24 02:42:43 +0000 |
commit | 5c91a491ab22725f19c5c2c1b0b73e015fb4e3b5 (patch) | |
tree | a1e72906b3c0a46ffb6fb702861b17f4440c86b2 /epan/dissectors | |
parent | 8531980952708eb41d8ddd7f407e60d14430d726 (diff) |
Remove superflous code; #include <stdio.h> not needed.
svn path=/trunk/; revision=28833
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-hpteam.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/epan/dissectors/packet-hpteam.c b/epan/dissectors/packet-hpteam.c index d92c5e6979..a451aa4249 100644 --- a/epan/dissectors/packet-hpteam.c +++ b/epan/dissectors/packet-hpteam.c @@ -28,7 +28,6 @@ # include "config.h" #endif -#include <stdio.h> #include <glib.h> #include <epan/packet.h> #include <epan/oui.h> @@ -38,7 +37,7 @@ static int proto_hpteam = -1; -/* Handle of our "data" subdissector */ +/* Handle of the "data" subdissector */ static dissector_handle_t data_handle; /* Known HP NIC teaming PID values */ @@ -58,7 +57,6 @@ dissect_hpteam(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_item *hpteam_item; proto_tree *hpteam_tree; - proto_tree *hpteam_header_tree; guint32 offset = 0; const char *strPtr, *HP_Mac; const guint8 *mac_addr; @@ -80,7 +78,6 @@ dissect_hpteam(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (tree) { /* we are being asked for details */ hpteam_item = proto_tree_add_item(tree, proto_hpteam, tvb, 0, -1, FALSE); hpteam_tree = proto_item_add_subtree(hpteam_item, ett_hpteam); - hpteam_header_tree = proto_item_add_subtree(hpteam_item, ett_hpteam); proto_tree_add_item(hpteam_tree, hf_hpteam, tvb, offset, 58, FALSE); } } |