[edk2,v3,5/9] ArmVirtPkg/VirtFdtDxe: remove unused PL011 DT node type

Message ID 1460534539-2169-6-git-send-email-ard.biesheuvel@linaro.org
State Superseded
Headers show

Commit Message

Ard Biesheuvel April 13, 2016, 8:02 a.m.
This type is not used in the code, so drop the definitions.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

---
 ArmVirtPkg/VirtFdtDxe/VirtFdtDxe.c | 2 --
 1 file changed, 2 deletions(-)

-- 
2.5.0

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Laszlo Ersek April 13, 2016, 12:35 p.m. | #1
On 04/13/16 10:02, Ard Biesheuvel wrote:
> This type is not used in the code, so drop the definitions.

> 

> Contributed-under: TianoCore Contribution Agreement 1.0

> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

> ---

>  ArmVirtPkg/VirtFdtDxe/VirtFdtDxe.c | 2 --

>  1 file changed, 2 deletions(-)

> 

> diff --git a/ArmVirtPkg/VirtFdtDxe/VirtFdtDxe.c b/ArmVirtPkg/VirtFdtDxe/VirtFdtDxe.c

> index 4fca50a6b347..8fe1277b6b49 100644

> --- a/ArmVirtPkg/VirtFdtDxe/VirtFdtDxe.c

> +++ b/ArmVirtPkg/VirtFdtDxe/VirtFdtDxe.c

> @@ -43,7 +43,6 @@ typedef struct {

>  typedef enum {

>    PropertyTypeUnknown,

>    PropertyTypeVirtio,

> -  PropertyTypeUart,

>    PropertyTypeXen,

>  } PROPERTY_TYPE;

>  

> @@ -54,7 +53,6 @@ typedef struct {

>  

>  STATIC CONST PROPERTY CompatibleProperties[] = {

>    { PropertyTypeVirtio,  "virtio,mmio"           },

> -  { PropertyTypeUart,    "arm,pl011"             },

>    { PropertyTypeXen,     "xen,xen"               },

>    { PropertyTypeUnknown, ""                      }

>  };

> 


Reviewed-by: Laszlo Ersek <lersek@redhat.com>

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Patch

diff --git a/ArmVirtPkg/VirtFdtDxe/VirtFdtDxe.c b/ArmVirtPkg/VirtFdtDxe/VirtFdtDxe.c
index 4fca50a6b347..8fe1277b6b49 100644
--- a/ArmVirtPkg/VirtFdtDxe/VirtFdtDxe.c
+++ b/ArmVirtPkg/VirtFdtDxe/VirtFdtDxe.c
@@ -43,7 +43,6 @@  typedef struct {
 typedef enum {
   PropertyTypeUnknown,
   PropertyTypeVirtio,
-  PropertyTypeUart,
   PropertyTypeXen,
 } PROPERTY_TYPE;
 
@@ -54,7 +53,6 @@  typedef struct {
 
 STATIC CONST PROPERTY CompatibleProperties[] = {
   { PropertyTypeVirtio,  "virtio,mmio"           },
-  { PropertyTypeUart,    "arm,pl011"             },
   { PropertyTypeXen,     "xen,xen"               },
   { PropertyTypeUnknown, ""                      }
 };