summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Häuser <Marvin.Haeuser@outlook.com>2018-02-27 23:07:25 +0100
committerJiewen Yao <jiewen.yao@intel.com>2018-02-28 09:14:33 +0800
commitfafe3208bd7a837228460fcf01eed7281b17910d (patch)
treeec4eb5ef015593b7a5dc338ff10c876d8fee129b
parent141e0bd9067cd06ad71996d3577770efb08e804e (diff)
downloadedk2-platforms-fafe3208bd7a837228460fcf01eed7281b17910d.tar.xz
MinPlatformPkg/TestPointLib: Remove an unused variable.
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
-rw-r--r--Platform/Intel/MinPlatformPkg/Test/Library/TestPointLib/SmmTestPointCommunication.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointLib/SmmTestPointCommunication.c b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointLib/SmmTestPointCommunication.c
index e6fb7bea0e..cce0538832 100644
--- a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointLib/SmmTestPointCommunication.c
+++ b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointLib/SmmTestPointCommunication.c
@@ -31,7 +31,6 @@ GetAllSmmTestPointData (
EFI_ADAPTER_INFORMATION_PROTOCOL *AipCandidate;
VOID *InformationBlock;
UINTN InformationBlockSize;
- ADAPTER_INFO_PLATFORM_TEST_POINT *TestPoint;
UINTN TotalSize;
EFI_STATUS RetStatus;
@@ -69,8 +68,7 @@ GetAllSmmTestPointData (
NoHandles = HandleBufSize / sizeof(EFI_HANDLE);
RetStatus = EFI_SUCCESS;
-
- TestPoint = NULL;
+
Aip = NULL;
InformationBlock = NULL;
InformationBlockSize = 0;