From: Elvira Khabirova Date: Mon, 6 Jun 2016 01:57:59 +0000 (+0300) Subject: mpers.awk: remove unnecessary type attribute retrieval X-Git-Tag: v4.13~174 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a840a14f1fa770dddc8f5413c06a88bab0c209b4;p=strace mpers.awk: remove unnecessary type attribute retrieval * mpers.awk (what_is): Do not retrieve "type" attribute for "enumeration_type". --- diff --git a/mpers.awk b/mpers.awk index 99248c57..809acf88 100644 --- a/mpers.awk +++ b/mpers.awk @@ -90,7 +90,6 @@ function what_is(what_idx, type_idx, special, item, \ returned_size = array_get(what_idx, "byte_size") break case "enumeration_type": - type_idx = array_get(what_idx, "type") returned_size = array_get(what_idx, "byte_size") printf("uint%s_t ", 8 * returned_size) break