summaryrefslogtreecommitdiffstats
path: root/EdkCompatibilityPkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2016-03-18 19:22:47 +0100
committerLaszlo Ersek <lersek@redhat.com>2016-03-25 10:52:10 +0100
commitd0f3dad373feeda70f880a42539d998e700c566d (patch)
tree3ab86ed93e7f65738d9b80fe7527c9d11dd86580 /EdkCompatibilityPkg
parent5ccd43c817af5e77ce5b287d84959a033fdef533 (diff)
downloadedk2-d0f3dad373feeda70f880a42539d998e700c566d.tar.gz
edk2-d0f3dad373feeda70f880a42539d998e700c566d.tar.bz2
edk2-d0f3dad373feeda70f880a42539d998e700c566d.zip
EdkCompatibilityPkg: BsSerialStatusCode: remove set but unused variable
Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Diffstat (limited to 'EdkCompatibilityPkg')
-rw-r--r--EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsSerialStatusCode/BsSerialStatusCode.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsSerialStatusCode/BsSerialStatusCode.c b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsSerialStatusCode/BsSerialStatusCode.c
index 15603cb645..fa454160f9 100644
--- a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsSerialStatusCode/BsSerialStatusCode.c
+++ b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsSerialStatusCode/BsSerialStatusCode.c
@@ -2215,10 +2215,6 @@ Returns:
--*/
{
- EFI_STATUS Status;
-
- Status = EFI_SUCCESS;
-
for (; *OutputString != 0; OutputString++) {
DebugSerialWrite (*OutputString);
}