Discussion:
[edk2] [Patch] MdeModulePkg: Remove two unnecessary protocols
Wang Fan
2015-07-14 02:13:11 UTC
Permalink
Remove two protocols never used in MdeModulePkg.dec.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: fanwang2 <***@intel.com>
---
MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf | 2 --
MdeModulePkg/MdeModulePkg.dec | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
index 3a20793..50fbcc2 100644
--- a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
+++ b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
@@ -59,7 +59,5 @@
gEfiManagedNetworkProtocolGuid ## SOMETIMES_CONSUMES
gEfiManagedNetworkServiceBindingProtocolGuid ## SOMETIMES_CONSUMES
gEfiIp4Config2ProtocolGuid ## SOMETIMES_CONSUMES
gEfiComponentNameProtocolGuid ## SOMETIMES_CONSUMES
gEfiComponentName2ProtocolGuid ## SOMETIMES_CONSUMES
- gEfiHttpProtocolGuid ## SOMETIMES_CONSUMES
- gEfiHttpServiceBindingProtocolGuid ## SOMETIMES_CONSUMES
\ No newline at end of file
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec
index 091479f..2eeb146 100644
--- a/MdeModulePkg/MdeModulePkg.dec
+++ b/MdeModulePkg/MdeModulePkg.dec
@@ -40,11 +40,11 @@
UdpIoLib|Include/Library/UdpIoLib.h

## @libraryclass The helper routines to access TCP service.
# This library is only intended to be used by UEFI network stack modules.
TcpIoLib|Include/Library/TcpIoLib.h
-
+
## @libraryclass The helper routines to access HTTP service.
# This library is only intended to be used by UEFI network stack modules.
HttpLib|Include/Library/HttpLib.h

## @libraryclass Defines a set of methods to reset whole system.
--
1.9.5.msysgit.1
Wu, Jiaxin
2015-07-14 03:06:16 UTC
Permalink
The commit message is incorrect. In MdeModulePkg.dec?

-----Original Message-----
From: Wang, Fan
Sent: Tuesday, July 14, 2015 10:13 AM
To: Wu, Jiaxin; Fu, Siyuan; Ye, Ting; edk2-***@lists.sourceforge.net
Cc: Qiu, Shumin
Subject: [Patch] MdeModulePkg: Remove two unnecessary protocols

Remove two protocols never used in MdeModulePkg.dec.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: fanwang2 <***@intel.com>
---
MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf | 2 --
MdeModulePkg/MdeModulePkg.dec | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
index 3a20793..50fbcc2 100644
--- a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
+++ b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
@@ -59,7 +59,5 @@
gEfiManagedNetworkProtocolGuid ## SOMETIMES_CONSUMES
gEfiManagedNetworkServiceBindingProtocolGuid ## SOMETIMES_CONSUMES
gEfiIp4Config2ProtocolGuid ## SOMETIMES_CONSUMES
gEfiComponentNameProtocolGuid ## SOMETIMES_CONSUMES
gEfiComponentName2ProtocolGuid ## SOMETIMES_CONSUMES
- gEfiHttpProtocolGuid ## SOMETIMES_CONSUMES
- gEfiHttpServiceBindingProtocolGuid ## SOMETIMES_CONSUMES
\ No newline at end of file
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 091479f..2eeb146 100644
--- a/MdeModulePkg/MdeModulePkg.dec
+++ b/MdeModulePkg/MdeModulePkg.dec
@@ -40,11 +40,11 @@
UdpIoLib|Include/Library/UdpIoLib.h

## @libraryclass The helper routines to access TCP service.
# This library is only intended to be used by UEFI network stack modules.
TcpIoLib|Include/Library/TcpIoLib.h
-
+
## @libraryclass The helper routines to access HTTP service.
# This library is only intended to be used by UEFI network stack modules.
HttpLib|Include/Library/HttpLib.h

## @libraryclass Defines a set of methods to reset whole system.
--
1.9.5.msysgit.1
Wang, Fan
2015-07-14 03:10:53 UTC
Permalink
Sorry about that, thanks for reminding.

Best Regards
Wang Fan

-----Original Message-----
From: Wu, Jiaxin
Sent: Tuesday, July 14, 2015 11:06 AM
To: Wang, Fan; Fu, Siyuan; Ye, Ting; edk2-***@lists.sourceforge.net
Cc: Qiu, Shumin
Subject: RE: [Patch] MdeModulePkg: Remove two unnecessary protocols

The commit message is incorrect. In MdeModulePkg.dec?

-----Original Message-----
From: Wang, Fan
Sent: Tuesday, July 14, 2015 10:13 AM
To: Wu, Jiaxin; Fu, Siyuan; Ye, Ting; edk2-***@lists.sourceforge.net
Cc: Qiu, Shumin
Subject: [Patch] MdeModulePkg: Remove two unnecessary protocols

Remove two protocols never used in MdeModulePkg.dec.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: fanwang2 <***@intel.com>
---
MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf | 2 --
MdeModulePkg/MdeModulePkg.dec | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
index 3a20793..50fbcc2 100644
--- a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
+++ b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
@@ -59,7 +59,5 @@
gEfiManagedNetworkProtocolGuid ## SOMETIMES_CONSUMES
gEfiManagedNetworkServiceBindingProtocolGuid ## SOMETIMES_CONSUMES
gEfiIp4Config2ProtocolGuid ## SOMETIMES_CONSUMES
gEfiComponentNameProtocolGuid ## SOMETIMES_CONSUMES
gEfiComponentName2ProtocolGuid ## SOMETIMES_CONSUMES
- gEfiHttpProtocolGuid ## SOMETIMES_CONSUMES
- gEfiHttpServiceBindingProtocolGuid ## SOMETIMES_CONSUMES
\ No newline at end of file
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 091479f..2eeb146 100644
--- a/MdeModulePkg/MdeModulePkg.dec
+++ b/MdeModulePkg/MdeModulePkg.dec
@@ -40,11 +40,11 @@
UdpIoLib|Include/Library/UdpIoLib.h

## @libraryclass The helper routines to access TCP service.
# This library is only intended to be used by UEFI network stack modules.
TcpIoLib|Include/Library/TcpIoLib.h
-
+
## @libraryclass The helper routines to access HTTP service.
# This library is only intended to be used by UEFI network stack modules.
HttpLib|Include/Library/HttpLib.h

## @libraryclass Defines a set of methods to reset whole system.
--
1.9.5.msysgit.1
Leif Lindholm
2015-07-14 14:19:09 UTC
Permalink
Hi Wang Fan,
Post by Wang Fan
Remove two protocols never used in MdeModulePkg.dec.
Contributed-under: TianoCore Contribution Agreement 1.0
---
MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf | 2 --
MdeModulePkg/MdeModulePkg.dec | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
index 3a20793..50fbcc2 100644
--- a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
+++ b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
@@ -59,7 +59,5 @@
gEfiManagedNetworkProtocolGuid ## SOMETIMES_CONSUMES
gEfiManagedNetworkServiceBindingProtocolGuid ## SOMETIMES_CONSUMES
gEfiIp4Config2ProtocolGuid ## SOMETIMES_CONSUMES
gEfiComponentNameProtocolGuid ## SOMETIMES_CONSUMES
gEfiComponentName2ProtocolGuid ## SOMETIMES_CONSUMES
- gEfiHttpProtocolGuid ## SOMETIMES_CONSUMES
- gEfiHttpServiceBindingProtocolGuid ## SOMETIMES_CONSUMES
\ No newline at end of file
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec
index 091479f..2eeb146 100644
--- a/MdeModulePkg/MdeModulePkg.dec
+++ b/MdeModulePkg/MdeModulePkg.dec
@@ -40,11 +40,11 @@
UdpIoLib|Include/Library/UdpIoLib.h
# This library is only intended to be used by UEFI network stack modules.
TcpIoLib|Include/Library/TcpIoLib.h
-
+
This change to MdeModulePkg.dec seems unnecessary.

Regards,

Leif
Post by Wang Fan
# This library is only intended to be used by UEFI network stack modules.
HttpLib|Include/Library/HttpLib.h
--
1.9.5.msysgit.1
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
edk2-devel mailing list
https://lists.sourceforge.net/lists/listinfo/edk2-devel
Loading...