From 76e7eeea17bfb722905d43f5003f7e6a70c67075 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Tue, 13 Sep 2011 15:21:32 +0000 Subject: [PATCH] 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 --- MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c index 9bebc27bfe..e67a88541b 100644 --- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c +++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c @@ -997,7 +997,6 @@ MatchUsbWwid ( EFI_USB_INTERFACE_DESCRIPTOR *ActIfDesc; EFI_USB_DEVICE_DESCRIPTOR *DevDesc; EFI_USB_STRING_DESCRIPTOR *StrDesc; - UINT16 *SnString; UINT16 Index; CHAR16 *CompareStr; UINTN CompareLen; @@ -1013,7 +1012,6 @@ MatchUsbWwid ( ASSERT (IfDesc->ActiveIndex < USB_MAX_INTERFACE_SETTING); ActIfDesc = &(IfDesc->Settings[IfDesc->ActiveIndex]->Desc); DevDesc = &(UsbIf->Device->DevDesc->Desc); - SnString = (UINT16 *) ((UINT8 *)UsbWWIDDevicePathPtr + 10); // // In addition, Hub interface is always matched for this policy.