From 1e966f6375d3b9fe77c6e4a6974f771f67182694 Mon Sep 17 00:00:00 2001 From: mdkinney Date: Wed, 20 May 2009 22:06:20 +0000 Subject: Remove redundant #include statements git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8357 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Protocol/DevicePathFromText.h | 2 -- MdePkg/Include/Protocol/DevicePathToText.h | 2 -- MdePkg/Include/Protocol/DevicePathUtilities.h | 3 --- MdePkg/Include/Protocol/DriverBinding.h | 1 - MdePkg/Include/Protocol/HiiString.h | 6 ++---- MdePkg/Include/Protocol/LoadedImage.h | 2 -- MdePkg/Include/Protocol/Usb2HostController.h | 1 - MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c | 2 -- .../Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c | 1 - 9 files changed, 2 insertions(+), 18 deletions(-) diff --git a/MdePkg/Include/Protocol/DevicePathFromText.h b/MdePkg/Include/Protocol/DevicePathFromText.h index ffac715..d9a9aea 100644 --- a/MdePkg/Include/Protocol/DevicePathFromText.h +++ b/MdePkg/Include/Protocol/DevicePathFromText.h @@ -16,8 +16,6 @@ #ifndef __DEVICE_PATH_FROM_TEXT_PROTOCOL_H__ #define __DEVICE_PATH_FROM_TEXT_PROTOCOL_H__ -#include - /// /// Device Path From Text protocol /// diff --git a/MdePkg/Include/Protocol/DevicePathToText.h b/MdePkg/Include/Protocol/DevicePathToText.h index 4767e08..bbc3483 100644 --- a/MdePkg/Include/Protocol/DevicePathToText.h +++ b/MdePkg/Include/Protocol/DevicePathToText.h @@ -16,8 +16,6 @@ #ifndef __DEVICE_PATH_TO_TEXT_PROTOCOL_H__ #define __DEVICE_PATH_TO_TEXT_PROTOCOL_H__ -#include - /// /// Device Path To Text protocol /// diff --git a/MdePkg/Include/Protocol/DevicePathUtilities.h b/MdePkg/Include/Protocol/DevicePathUtilities.h index ba430d3..48e06aa 100644 --- a/MdePkg/Include/Protocol/DevicePathUtilities.h +++ b/MdePkg/Include/Protocol/DevicePathUtilities.h @@ -16,9 +16,6 @@ #ifndef __DEVICE_PATH_UTILITIES_PROTOCOL_H__ #define __DEVICE_PATH_UTILITIES_PROTOCOL_H__ - -#include - /// /// Device Path Utilities protocol /// diff --git a/MdePkg/Include/Protocol/DriverBinding.h b/MdePkg/Include/Protocol/DriverBinding.h index 475988c..2b7eb31 100644 --- a/MdePkg/Include/Protocol/DriverBinding.h +++ b/MdePkg/Include/Protocol/DriverBinding.h @@ -18,7 +18,6 @@ #ifndef __EFI_DRIVER_BINDING_H__ #define __EFI_DRIVER_BINDING_H__ -#include /// /// Global ID for the ControllerHandle Driver Protocol /// diff --git a/MdePkg/Include/Protocol/HiiString.h b/MdePkg/Include/Protocol/HiiString.h index 406c6fa..d0b7e0d 100644 --- a/MdePkg/Include/Protocol/HiiString.h +++ b/MdePkg/Include/Protocol/HiiString.h @@ -15,12 +15,10 @@ #ifndef __HII_STRING_H__ #define __HII_STRING_H__ -#define EFI_HII_STRING_PROTOCOL_GUID \ - { 0xfd96974, 0x23aa, 0x4cdc, { 0xb9, 0xcb, 0x98, 0xd1, 0x77, 0x50, 0x32, 0x2a } } - -#include #include +#define EFI_HII_STRING_PROTOCOL_GUID \ + { 0xfd96974, 0x23aa, 0x4cdc, { 0xb9, 0xcb, 0x98, 0xd1, 0x77, 0x50, 0x32, 0x2a } } typedef struct _EFI_HII_STRING_PROTOCOL EFI_HII_STRING_PROTOCOL; diff --git a/MdePkg/Include/Protocol/LoadedImage.h b/MdePkg/Include/Protocol/LoadedImage.h index 9a2a94a..f95c045 100644 --- a/MdePkg/Include/Protocol/LoadedImage.h +++ b/MdePkg/Include/Protocol/LoadedImage.h @@ -18,8 +18,6 @@ #ifndef __LOADED_IMAGE_PROTOCOL_H__ #define __LOADED_IMAGE_PROTOCOL_H__ -#include - #define EFI_LOADED_IMAGE_PROTOCOL_GUID \ { \ 0x5B1B31A1, 0x9562, 0x11d2, {0x8E, 0x3F, 0x00, 0xA0, 0xC9, 0x69, 0x72, 0x3B } \ diff --git a/MdePkg/Include/Protocol/Usb2HostController.h b/MdePkg/Include/Protocol/Usb2HostController.h index bb550a3..9137370 100644 --- a/MdePkg/Include/Protocol/Usb2HostController.h +++ b/MdePkg/Include/Protocol/Usb2HostController.h @@ -18,7 +18,6 @@ #ifndef _USB2_HOSTCONTROLLER_H_ #define _USB2_HOSTCONTROLLER_H_ -#include #include #define EFI_USB2_HC_PROTOCOL_GUID \ diff --git a/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c b/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c index 46c5c05..5aad01f 100644 --- a/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c +++ b/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c @@ -22,8 +22,6 @@ #include -#include - #include #include #include diff --git a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c index 6ff6335..9f9a470 100644 --- a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c +++ b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c @@ -17,7 +17,6 @@ #include #include -#include #include #include -- cgit v1.1