aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-m2tp.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-09-15 15:38:34 +0000
committerBill Meier <wmeier@newsguy.com>2008-09-15 15:38:34 +0000
commit1e7e3cee51ac00f1a54c9c40f9adc90d82987a62 (patch)
tree77bae77432f83538696326024eddbba8e87ac5bc /epan/dissectors/packet-m2tp.c
parent2aee2b22f6a655c1a2fb957216ba6e0cd695eaac (diff)
Minor cleanup related to proto_reg_handoff
svn path=/trunk/; revision=26196
Diffstat (limited to 'epan/dissectors/packet-m2tp.c')
-rw-r--r--epan/dissectors/packet-m2tp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-m2tp.c b/epan/dissectors/packet-m2tp.c
index 7ef4c15ece..596a318d0e 100644
--- a/epan/dissectors/packet-m2tp.c
+++ b/epan/dissectors/packet-m2tp.c
@@ -243,7 +243,6 @@ static gint ett_m2tp = -1;
static gint ett_m2tp_parameter = -1;
static dissector_handle_t mtp2_handle;
-static int mtp2_proto_id;
static guint
nr_of_padding_bytes (guint length)
@@ -670,7 +669,6 @@ proto_reg_handoff_m2tp(void)
{
dissector_handle_t m2tp_handle;
mtp2_handle = find_dissector("mtp2");
- mtp2_proto_id = proto_get_id_by_filter_name("mtp2");
m2tp_handle = create_dissector_handle(dissect_m2tp, proto_m2tp);
dissector_add("sctp.ppi", M2TP_PAYLOAD_PROTOCOL_ID, m2tp_handle);
dissector_add("sctp.port", SCTP_PORT_M2TP, m2tp_handle);