From a67838484c96fa8f8a4cbce91f16c6f5cb1f80ee Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Thu, 3 Jan 2008 17:49:59 +0000 Subject: Get rid of ber_created_item(). svn path=/trunk/; revision=24007 --- asn1/gsmmap/packet-gsmmap-template.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'asn1/gsmmap') diff --git a/asn1/gsmmap/packet-gsmmap-template.c b/asn1/gsmmap/packet-gsmmap-template.c index c5b4731771..e1d5581374 100644 --- a/asn1/gsmmap/packet-gsmmap-template.c +++ b/asn1/gsmmap/packet-gsmmap-template.c @@ -270,13 +270,11 @@ gsm_map_calc_bitrate(guint8 value){ static void dissect_gsm_map_ext_qos_subscribed(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_){ int offset = 0; - proto_item *item; proto_tree *subtree; guint8 octet; guint16 value; - item = get_ber_last_created_item(); - subtree = proto_item_add_subtree(item, ett_gsm_map_ext_qos_subscribed); + subtree = proto_item_add_subtree(actx->created_item, ett_gsm_map_ext_qos_subscribed); /* OCTET 1: Allocation/Retention Priority (This octet encodes each priority level defined in 23.107 as the binary value of the priority level, declaration in 29.060) -- cgit v1.2.3