aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-08-07 15:16:35 +0000
committerBill Meier <wmeier@newsguy.com>2011-08-07 15:16:35 +0000
commit9e61dfeb338e86e0e8ff6e1a2ef87674d02b4d0d (patch)
tree8a9608d724719a44a0a7926a5e07551ab238af9b
parent055f20b798d67f91afe5ce9ae41620763aa69aa4 (diff)
Remove some unused 'GMemChunk *' variables and se_alloc() to same.
(Found by using -DG_DISABLE_DEPRECATED when compiling dissectors). svn path=/trunk/; revision=38390
-rw-r--r--epan/dissectors/packet-sbus.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/epan/dissectors/packet-sbus.c b/epan/dissectors/packet-sbus.c
index 8397fdc5f6..ab1602bdee 100644
--- a/epan/dissectors/packet-sbus.c
+++ b/epan/dissectors/packet-sbus.c
@@ -546,10 +546,8 @@ typedef struct {
nstime_t req_time; /*time of the last request*/
} sbus_request_val;
-/* The hash/GMemChunk structure (for conversations)*/
+/* The hash structure (for conversations)*/
static GHashTable *sbus_request_hash = NULL;
-static GMemChunk *sbus_request_keys = NULL;
-static GMemChunk *sbus_request_vals = NULL;
static guint crc_calc (guint crc, guint val)
{
@@ -589,8 +587,6 @@ static void sbus_init_protocol(void){
g_hash_table_destroy(sbus_request_hash);
}
sbus_request_hash = g_hash_table_new(sbus_hash, sbus_equal);
- sbus_request_keys = se_alloc(sizeof(sbus_request_key));
- sbus_request_vals = se_alloc(sizeof(sbus_request_val));
}
/* check whether the packet looks like SBUS or not */