aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bmc.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2011-04-18 19:34:40 +0000
committerGerald Combs <gerald@wireshark.org>2011-04-18 19:34:40 +0000
commit0dd99df7ce353f77c532d52df285ca6737e3cf96 (patch)
tree2a2c14f042cdfb7836601e4a449beb6dd777bc80 /epan/dissectors/packet-bmc.c
parent1b5e64fde6dcae4061fb92ced53dc55761edbbf9 (diff)
We don't have any preferences, so remove the prefs.h include. It doesn't
look like we need a reg_handoff routine either so remove it as well. Fixes Coverity CID 1189. svn path=/trunk/; revision=36709
Diffstat (limited to 'epan/dissectors/packet-bmc.c')
-rw-r--r--epan/dissectors/packet-bmc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/epan/dissectors/packet-bmc.c b/epan/dissectors/packet-bmc.c
index 19bf37527e..6aac41a7b9 100644
--- a/epan/dissectors/packet-bmc.c
+++ b/epan/dissectors/packet-bmc.c
@@ -32,7 +32,6 @@
#include <epan/bitswap.h>
#include <epan/packet.h>
-#include <epan/prefs.h>
static int dissect_bmc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
static int dissect_bmc_cbs_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
@@ -339,11 +338,3 @@ proto_register_bmc(void)
proto_register_field_array(proto_bmc, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
}
-
-void
-proto_reg_handoff_bmc(void)
-{
- dissector_handle_t bmc_handle;
-
- bmc_handle = new_create_dissector_handle(dissect_bmc, proto_bmc);
-}