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
This commit is contained in:
qhuang8 2007-01-29 02:15:56 +00:00
parent b8f186eb78
commit c111036f20
1 changed files with 0 additions and 32 deletions

View File

@ -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;
}