summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Bus/Usb/UsbBusPei/HubPeim.h
diff options
context:
space:
mode:
authorshenglei <shenglei.zhang@intel.com>2018-08-08 15:41:25 +0800
committerStar Zeng <star.zeng@intel.com>2018-08-21 16:29:03 +0800
commit0ffa23c0f413fef1b1b35bac3ad328dcd20eafab (patch)
tree282602ae16407757227c731740b7539a2c91d063 /MdeModulePkg/Bus/Usb/UsbBusPei/HubPeim.h
parent880cc3ebefa8bb126991c65dd2be916dab30d382 (diff)
downloadedk2-0ffa23c0f413fef1b1b35bac3ad328dcd20eafab.tar.gz
MdeModulePkg UsbBusPei: Remove redundant functions
The functions that are never called have been removed. They are PeiHubSetHubFeature,IsPortConnectChange and PeiUsbClearDeviceFeature. https://bugzilla.tianocore.org/show_bug.cgi?id=1062 Cc: Star Zeng <star.zeng@intel.com> Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: shenglei <shenglei.zhang@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg/Bus/Usb/UsbBusPei/HubPeim.h')
-rw-r--r--MdeModulePkg/Bus/Usb/UsbBusPei/HubPeim.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbBusPei/HubPeim.h b/MdeModulePkg/Bus/Usb/UsbBusPei/HubPeim.h
index 385a14ec0d..d21057c349 100644
--- a/MdeModulePkg/Bus/Usb/UsbBusPei/HubPeim.h
+++ b/MdeModulePkg/Bus/Usb/UsbBusPei/HubPeim.h
@@ -145,24 +145,6 @@ PeiHubSetPortFeature (
IN UINT8 Value
);
-/**
- Set specified feature to a given hub.
-
- @param PeiServices General-purpose services that are available to every PEIM.
- @param UsbIoPpi Indicates the PEI_USB_IO_PPI instance.
- @param Value New feature value.
-
- @retval EFI_SUCCESS Port feature is set successfully.
- @retval EFI_DEVICE_ERROR Cannot set the port feature due to a hardware error.
- @retval Others Other failure occurs.
-
-**/
-EFI_STATUS
-PeiHubSetHubFeature (
- IN EFI_PEI_SERVICES **PeiServices,
- IN PEI_USB_IO_PPI *UsbIoPpi,
- IN UINT8 Value
- );
/**
Get a given hub status.