mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/UsbBusDxe: Removed unused variable
'SnString' is set but not used. Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12340 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
2a9f433bc9
commit
76e7eeea17
|
@ -997,7 +997,6 @@ MatchUsbWwid (
|
||||||
EFI_USB_INTERFACE_DESCRIPTOR *ActIfDesc;
|
EFI_USB_INTERFACE_DESCRIPTOR *ActIfDesc;
|
||||||
EFI_USB_DEVICE_DESCRIPTOR *DevDesc;
|
EFI_USB_DEVICE_DESCRIPTOR *DevDesc;
|
||||||
EFI_USB_STRING_DESCRIPTOR *StrDesc;
|
EFI_USB_STRING_DESCRIPTOR *StrDesc;
|
||||||
UINT16 *SnString;
|
|
||||||
UINT16 Index;
|
UINT16 Index;
|
||||||
CHAR16 *CompareStr;
|
CHAR16 *CompareStr;
|
||||||
UINTN CompareLen;
|
UINTN CompareLen;
|
||||||
|
@ -1013,7 +1012,6 @@ MatchUsbWwid (
|
||||||
ASSERT (IfDesc->ActiveIndex < USB_MAX_INTERFACE_SETTING);
|
ASSERT (IfDesc->ActiveIndex < USB_MAX_INTERFACE_SETTING);
|
||||||
ActIfDesc = &(IfDesc->Settings[IfDesc->ActiveIndex]->Desc);
|
ActIfDesc = &(IfDesc->Settings[IfDesc->ActiveIndex]->Desc);
|
||||||
DevDesc = &(UsbIf->Device->DevDesc->Desc);
|
DevDesc = &(UsbIf->Device->DevDesc->Desc);
|
||||||
SnString = (UINT16 *) ((UINT8 *)UsbWWIDDevicePathPtr + 10);
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// In addition, Hub interface is always matched for this policy.
|
// In addition, Hub interface is always matched for this policy.
|
||||||
|
|
Loading…
Reference in New Issue