]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Acpi/AcpiTableDxe/AmlString.c
MdeModulePkg: Remove variables that are set, but not used
[mirror_edk2.git] / MdeModulePkg / Universal / Acpi / AcpiTableDxe / AmlString.c
index fe2c7613e54a48d6d4884c039e22695735f8220f..9f47b48835852fd1cb337de958e820e03bbcccdd 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   ACPI Sdt Protocol Driver\r
 \r
-  Copyright (c) 2010, Intel Corporation. All rights reserved. <BR>\r
+  Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved. <BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -117,9 +117,7 @@ AmlGetNameStringSize (
   UINTN                 SegCount;\r
   UINTN                 Length;\r
   UINTN                 Index;\r
-  UINT8                 *Name;\r
 \r
-  Name = Buffer;\r
   Length = 0;\r
 \r
   //\r
@@ -493,9 +491,7 @@ AmlPrintNameString (
 {\r
   UINT8                 SegCount;\r
   UINT8                 Index;\r
-  UINT8                 *Name;\r
\r
-  Name = Buffer;\r
+\r
   if (*Buffer == AML_ROOT_CHAR) {\r
     //\r
     // RootChar\r