aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-turbocell.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-09-26 17:04:01 +0000
committerBill Meier <wmeier@newsguy.com>2008-09-26 17:04:01 +0000
commit3e347bb88c75b177c22c363c601fceaf71c9afc5 (patch)
treeb25b463a63c676495cf17944120de8db1aeaa348 /epan/dissectors/packet-turbocell.c
parent64f088530e6425da78f49affbd937909910b07ab (diff)
Minor cleanups related to proto_reg_handoff
svn path=/trunk/; revision=26277
Diffstat (limited to 'epan/dissectors/packet-turbocell.c')
-rw-r--r--epan/dissectors/packet-turbocell.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/epan/dissectors/packet-turbocell.c b/epan/dissectors/packet-turbocell.c
index 4f4713e236..417bdb6657 100644
--- a/epan/dissectors/packet-turbocell.c
+++ b/epan/dissectors/packet-turbocell.c
@@ -97,9 +97,9 @@ static gint ett_msdu_aggregation_parent_tree = -1;
static gint ett_msdu_aggregation_subframe_tree = -1;
/* The ethernet dissector we hand off to */
-static dissector_handle_t eth_handle=NULL;
+static dissector_handle_t eth_handle;
-static dissector_handle_t data_handle=NULL;
+static dissector_handle_t data_handle;
static const value_string turbocell_type_values[] = {
{ TURBOCELL_TYPE_BEACON_NON_POLLING, "Beacon (Non-Polling Base Station)" },
@@ -365,11 +365,7 @@ void proto_register_turbocell(void)
void proto_reg_handoff_turbocell(void)
{
- dissector_handle_t turbocell_handle;
-
eth_handle = find_dissector("eth_withoutfcs");
data_handle = find_dissector("data");
-
- turbocell_handle = create_dissector_handle(dissect_turbocell, proto_turbocell);
}