diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-09-11 06:07:15 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-09-11 06:07:15 +0000 |
commit | ad7e30a0e3585c5981bcf4b9c53338a87a7a5bd4 (patch) | |
tree | 79ba30fbe552c561b0bffe79e89516954266568a /MdeModulePkg/Universal/Network/PxeBcDxe | |
parent | 9c5e6f8304ef6d652e5236e4d1491d6cd8858e6d (diff) | |
download | edk2-platforms-ad7e30a0e3585c5981bcf4b9c53338a87a7a5bd4.tar.xz |
Remove the #ifdef style code ported from EDK tree. EdkII use PCD for customization.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3793 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network/PxeBcDxe')
-rw-r--r-- | MdeModulePkg/Universal/Network/PxeBcDxe/Bc.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h | 8 |
2 files changed, 1 insertions, 9 deletions
diff --git a/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.c b/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.c index 4b66ac0660..0c0eeffcff 100644 --- a/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.c +++ b/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.c @@ -2386,7 +2386,7 @@ InitializeBCDriver ( SystemTable,
&mPxeBcDriverBinding,
NULL,
- COMPONENT_NAME,
+ &gPxeBcComponentName,
NULL,
NULL
);
diff --git a/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h b/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h index f4a19bad60..e04acc3656 100644 --- a/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h +++ b/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h @@ -436,14 +436,6 @@ PxeBcLibGetSmbiosSystemGuidAndSerialNumber ( ) ; -#ifdef EFI_SIZE_REDUCTION_APPLIED - #define COMPONENT_NAME_CODE(code) - #define COMPONENT_NAME NULL -#else - #define COMPONENT_NAME_CODE(code) code - #define COMPONENT_NAME &gPxeBcComponentName -#endif - // // Define SMBIOS tables. |