Skip to content

Commit cfc12b5

Browse files
committed
SecurityPkg/HashLibTpm2: Remove unused variable
Fixes: 9c651ef Signed-off-by: Mike Beaton <[email protected]>
1 parent aacfbe6 commit cfc12b5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

SecurityPkg/Library/HashLibTpm2/HashLibTpm2PeilessSecLib.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,6 @@ HasLibTpm2PeilessSecLibConstructor (
559559
TRANSFER_LIST_HEADER *TransferList;
560560
VOID *EventLog;
561561
UINTN EventLogSize;
562-
TCG_PCR_EVENT *TcgPcrEvent;
563562
TCG_EfiSpecIDEventStruct *TcgEfiSpecIdEventStruct;
564563
TCG_EfiSpecIdEventAlgorithmSize *DigestSize;
565564
UINTN Idx;
@@ -585,7 +584,6 @@ HasLibTpm2PeilessSecLibConstructor (
585584
goto DisableHandler;
586585
}
587586

588-
TcgPcrEvent = (TCG_PCR_EVENT *)EventLog;
589587
TcgEfiSpecIdEventStruct = (TCG_EfiSpecIDEventStruct *)
590588
(EventLog + OFFSET_OF (TCG_PCR_EVENT, Event));
591589

0 commit comments

Comments
 (0)