Skip to content

Commit a438f86

Browse files
libipt, ild: remove unused local variable
When we split the immediate tables for vex and evex in 850f91c4 libipt, ild: split imm tables for vex and evex the only use of the map local variable went away. Remove it. Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
1 parent d3bb1ce commit a438f86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libipt/src/pt_ild.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ static int prefix_vex_c4(struct pt_ild *ild, uint8_t length, uint8_t rex)
10491049
static int prefix_evex(struct pt_ild *ild, uint8_t length, uint8_t rex)
10501050
{
10511051
uint8_t max_bytes;
1052-
uint8_t p1, p2, map;
1052+
uint8_t p1, p2;
10531053

10541054
(void) rex;
10551055

@@ -1083,7 +1083,7 @@ static int prefix_evex(struct pt_ild *ild, uint8_t length, uint8_t rex)
10831083

10841084
resolve_vex_pp(ild, p2 & 0x03);
10851085

1086-
ild->map = map = p1 & 0x07;
1086+
ild->map = p1 & 0x07;
10871087

10881088
/* Eat the EVEX. */
10891089
length += 4;

0 commit comments

Comments
 (0)