aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2008-08-25 18:42:30 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2008-08-25 18:42:30 +0000
commitcec30cfff27b7d5312f1c350c5188087313d4fbb (patch)
tree5a5d2e899291ea70089d2b489164354e331583b4 /epan
parentd19734ac7a3b9292c07e49d2b88b1ba854d22692 (diff)
Remove unnecessary registration of a prefs callback
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26079 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-fcoe.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-fcoe.c b/epan/dissectors/packet-fcoe.c
index 35debeb89b..63e26b3f4c 100644
--- a/epan/dissectors/packet-fcoe.c
+++ b/epan/dissectors/packet-fcoe.c
@@ -95,8 +95,6 @@ static const value_string fcoe_sof_vals[] = {
{0, NULL}
};
-void proto_reg_handoff_fcoe(void);
-
static int proto_fcoe = -1;
static int hf_fcoe_ver = -1;
static int hf_fcoe_len = -1;
@@ -326,7 +324,7 @@ proto_register_fcoe(void)
proto_register_field_array(proto_fcoe, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
- fcoe_module = prefs_register_protocol(proto_fcoe, proto_reg_handoff_fcoe);
+ fcoe_module = prefs_register_protocol(proto_fcoe, NULL);
prefs_register_obsolete_preference(fcoe_module, "ethertype");
}