aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-lbm.c
diff options
context:
space:
mode:
authorDavid Ameiss <netshark@ameissnet.com>2014-04-22 11:30:54 -0500
committerAnders Broman <a.broman58@gmail.com>2014-04-23 15:22:53 +0000
commit1a1abf952373e4b6ce2ca6513e05c61904b563c9 (patch)
tree9ca3a7d8b8d943b02627b0ad7c3d166b7e58be26 /epan/dissectors/packet-lbm.c
parentabbcaabccc111041c79e8e18314c93aef0f98483 (diff)
Conversation/memory scope fixes for LBM dissectors. See bug 9718.
Change-Id: I58aa249d73ab44f5f56b1559b38b216cdb542ecb Reviewed-on: https://code.wireshark.org/review/1280 Reviewed-by: Evan Huus <eapache@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-lbm.c')
-rw-r--r--epan/dissectors/packet-lbm.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/epan/dissectors/packet-lbm.c b/epan/dissectors/packet-lbm.c
index 9a4fe604f6..347a09be1f 100644
--- a/epan/dissectors/packet-lbm.c
+++ b/epan/dissectors/packet-lbm.c
@@ -29,9 +29,6 @@
void proto_register_lbm(void);
-/* Protocol handle */
-static int lbm_protocol_handle = -1;
-
/*----------------------------------------------------------------------------*/
/* Value translation tables. */
/*----------------------------------------------------------------------------*/
@@ -68,8 +65,6 @@ static void lbm_init(void)
/* Register all the bits needed with the filtering engine */
void proto_register_lbm(void)
{
- lbm_protocol_handle = proto_register_protocol("LBM Protocol", "LBM", "lbm"); /* XXX: not used/needed ? */
-
register_init_routine(lbm_init);
}
@@ -209,16 +204,6 @@ gboolean lbm_channel_is_known(guint64 channel)
return (!lbm_channel_is_unknown_transport_lbttcp(channel) && !lbm_channel_is_unknown_stream_tcp(channel));
}
-#if 0 /* XXX:not used ?? */
-guint64 lbm_channel_id(guint64 channel)
-{
- guint64 id;
-
- id = (channel & LBM_CHANNEL_VALUE_MASK) >> LBM_CHANNEL_VALUE_SHIFT_COUNT;
- return (id);
-}
-#endif
-
/*----------------------------------------------------------------------------*/
/* Frame/SQN interface. */
/*----------------------------------------------------------------------------*/