]> xenbits.xensource.com Git - people/andrewcoop/seabios.git/commitdiff
tcgbios: Remove unused const variable
authorKevin O'Connor <kevin@koconnor.net>
Tue, 17 May 2016 00:51:17 +0000 (20:51 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Tue, 17 May 2016 00:51:17 +0000 (20:51 -0400)
Remove the unused array `PhysicalPresence_CMD_DISABLE` to fix GCC 6
warnings.

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/tcgbios.c

index ddf4f791a5cf21e72daf36d019ee444def3c18a2..334d99b38b13318d0d1ecda319e97c3a41d9ec59 100644 (file)
@@ -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 };