summaryrefslogtreecommitdiff
path: root/EdkModulePkg
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-29 02:15:56 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-29 02:15:56 +0000
commitc111036f2028bbf2dd91b956be10addb31e8b3b1 (patch)
tree8f2e01467c8f350769576e7070de6db31c33ac17 /EdkModulePkg
parentb8f186eb785e207dadd1affba8c55232eb3eefd0 (diff)
downloadedk2-platforms-c111036f2028bbf2dd91b956be10addb31e8b3b1.tar.xz
Fix the build break by removing an unreferenced static function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2330 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg')
-rw-r--r--EdkModulePkg/Bus/Usb/UsbMassStorage/Dxe/UsbMassStorageHelper.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/EdkModulePkg/Bus/Usb/UsbMassStorage/Dxe/UsbMassStorageHelper.c b/EdkModulePkg/Bus/Usb/UsbMassStorage/Dxe/UsbMassStorageHelper.c
index c011349a78..eb7a8bb63a 100644
--- a/EdkModulePkg/Bus/Usb/UsbMassStorage/Dxe/UsbMassStorageHelper.c
+++ b/EdkModulePkg/Bus/Usb/UsbMassStorage/Dxe/UsbMassStorageHelper.c
@@ -59,12 +59,6 @@ IsMediaWriteProtected (
IN UINTN SenseCounts
);
-STATIC
-BOOLEAN
-IsLogicalUnitCommunicationOverRun (
- IN REQUEST_SENSE_DATA *SenseData,
- IN UINTN SenseCounts
- );
EFI_STATUS
USBFloppyPacketCommand (
@@ -1546,29 +1540,3 @@ IsMediaWriteProtected (
return IsWriteProtected;
}
-BOOLEAN
-IsLogicalUnitCommunicationOverRun (
- IN REQUEST_SENSE_DATA *SenseData,
- IN UINTN SenseCounts
- )
-{
- REQUEST_SENSE_DATA *SensePtr;
- UINTN Index;
- BOOLEAN IsOverRun;
-
- IsOverRun = FALSE;
- SensePtr = SenseData;
-
- for (Index = 0; Index < SenseCounts; Index++) {
-
- if ((SensePtr->sense_key == SK_NOT_READY) &&
- (SensePtr->addnl_sense_code == ASC_LOGICAL_UNIT_STATUS) &&
- (SensePtr->addnl_sense_code_qualifier == ASCQ_LOGICAL_UNIT_OVERRUN)) {
- IsOverRun = TRUE;
- }
-
- SensePtr++;
- }
-
- return IsOverRun;
-}