public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] MdePkg UefiPciSegmentLibPciRootBridgeIo: Remove redundant dependency
@ 2018-09-18  3:29 shenglei
  2018-09-18  3:29 ` [PATCH] MdePkg UefiPciLibPciRootBridgeIo: " shenglei
  0 siblings, 1 reply; 3+ messages in thread
From: shenglei @ 2018-09-18  3:29 UTC (permalink / raw)
  To: edk2-devel; +Cc: Michael D Kinney, Liming Gao

PiDxe.h is not used PciSegmentLib.h.
So "#include <PiDxe.h>" is deleted.
https://bugzilla.tianocore.org/show_bug.cgi?id=1183

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei <shenglei.zhang@intel.com>
---
 MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/PciSegmentLib.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/PciSegmentLib.h b/MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/PciSegmentLib.h
index 699a5b5341..639902f3d3 100644
--- a/MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/PciSegmentLib.h
+++ b/MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/PciSegmentLib.h
@@ -16,7 +16,6 @@
 #ifndef __DXE_PCI_SEGMENT_LIB__
 #define __DXE_PCI_SEGMENT_LIB__
 
-#include <PiDxe.h>
 
 #include <Protocol/PciRootBridgeIo.h>
 
-- 
2.18.0.windows.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] MdePkg UefiPciLibPciRootBridgeIo: Remove redundant dependency
  2018-09-18  3:29 [PATCH] MdePkg UefiPciSegmentLibPciRootBridgeIo: Remove redundant dependency shenglei
@ 2018-09-18  3:29 ` shenglei
  2018-09-18  8:44   ` Ni, Ruiyu
  0 siblings, 1 reply; 3+ messages in thread
From: shenglei @ 2018-09-18  3:29 UTC (permalink / raw)
  To: edk2-devel; +Cc: Michael D Kinney, Liming Gao

PiDxe.h is not used PciSegmentLib.h.
So "#include <PiDxe.h>" is deleted.
https://bugzilla.tianocore.org/show_bug.cgi?id=1183

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: shenglei <shenglei.zhang@intel.com>
---
 MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c b/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c
index 575d9c1f91..f89e3e2551 100644
--- a/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c
+++ b/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c
@@ -13,8 +13,6 @@
 
 **/
 
-#include <PiDxe.h>
-
 #include <Protocol/PciRootBridgeIo.h>
 
 #include <Library/PciLib.h>
-- 
2.18.0.windows.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] MdePkg UefiPciLibPciRootBridgeIo: Remove redundant dependency
  2018-09-18  3:29 ` [PATCH] MdePkg UefiPciLibPciRootBridgeIo: " shenglei
@ 2018-09-18  8:44   ` Ni, Ruiyu
  0 siblings, 0 replies; 3+ messages in thread
From: Ni, Ruiyu @ 2018-09-18  8:44 UTC (permalink / raw)
  To: shenglei, edk2-devel; +Cc: Michael D Kinney, Liming Gao

On 9/18/2018 11:29 AM, shenglei wrote:
> PiDxe.h is not used PciSegmentLib.h.
> So "#include <PiDxe.h>" is deleted.
> https://bugzilla.tianocore.org/show_bug.cgi?id=1183
> 
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Liming Gao <liming.gao@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: shenglei <shenglei.zhang@intel.com>
> ---
>   MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c b/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c
> index 575d9c1f91..f89e3e2551 100644
> --- a/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c
> +++ b/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c
> @@ -13,8 +13,6 @@
>   
>   **/
>   
> -#include <PiDxe.h>
> -
>   #include <Protocol/PciRootBridgeIo.h>
>   
>   #include <Library/PciLib.h>
> 
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>

-- 
Thanks,
Ray


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-09-18  8:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-18  3:29 [PATCH] MdePkg UefiPciSegmentLibPciRootBridgeIo: Remove redundant dependency shenglei
2018-09-18  3:29 ` [PATCH] MdePkg UefiPciLibPciRootBridgeIo: " shenglei
2018-09-18  8:44   ` Ni, Ruiyu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox