aboutsummaryrefslogtreecommitdiffstats
path: root/src/tcgbios.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-05-16 20:51:17 -0400
committerKevin O'Connor <kevin@koconnor.net>2016-05-16 20:51:17 -0400
commit1dc77745774ff7ba95a0c4dc8eb2299a6cde4d98 (patch)
tree8fc736e6970f82fe07121b8d940146d2c461b18e /src/tcgbios.c
parent0024cd77f88a38036a228fb885217ff06e97464c (diff)
downloadseabios-1dc77745774ff7ba95a0c4dc8eb2299a6cde4d98.tar.gz
tcgbios: Remove unused const variable
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>
Diffstat (limited to 'src/tcgbios.c')
-rw-r--r--src/tcgbios.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tcgbios.c b/src/tcgbios.c
index ddf4f791..334d99b3 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 };