From 1dc77745774ff7ba95a0c4dc8eb2299a6cde4d98 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 16 May 2016 20:51:17 -0400 Subject: [PATCH] tcgbios: Remove unused const variable Remove the unused array `PhysicalPresence_CMD_DISABLE` to fix GCC 6 warnings. Signed-off-by: Paul Menzel Signed-off-by: Kevin O'Connor --- src/tcgbios.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tcgbios.c b/src/tcgbios.c index ddf4f79..334d99b 100644 --- a/src/tcgbios.c +++ b/src/tcgbios.c @@ -33,7 +33,6 @@ static const u8 Startup_ST_CLEAR[] = { 0x00, TPM_ST_CLEAR }; static const u8 Startup_ST_STATE[] = { 0x00, TPM_ST_STATE }; static const u8 PhysicalPresence_CMD_ENABLE[] = { 0x00, 0x20 }; -static const u8 PhysicalPresence_CMD_DISABLE[] = { 0x01, 0x00 }; static const u8 PhysicalPresence_PRESENT[] = { 0x00, 0x08 }; static const u8 PhysicalPresence_NOT_PRESENT_LOCK[] = { 0x00, 0x14 }; -- 2.39.5