From: Kevin O'Connor Date: Tue, 17 May 2016 00:51:17 +0000 (-0400) Subject: tcgbios: Remove unused const variable X-Git-Tag: rel-1.10.0~50 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=1dc77745774ff7ba95a0c4dc8eb2299a6cde4d98;p=seabios.git 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 --- 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 };