aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fcoe.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-08-25 18:42:30 +0000
committerBill Meier <wmeier@newsguy.com>2008-08-25 18:42:30 +0000
commitc249da955cdec9d55a96dba83d9204a479fac04a (patch)
tree5a5d2e899291ea70089d2b489164354e331583b4 /epan/dissectors/packet-fcoe.c
parentacbbc43f2ef44db31f6695bb04030bc4a6ebfd5b (diff)
Remove unnecessary registration of a prefs callback
svn path=/trunk/; revision=26079
Diffstat (limited to 'epan/dissectors/packet-fcoe.c')
-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");
}