]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OptionRomPkg: FtdiUsbSerialDxe: remove set but unused variables
authorLaszlo Ersek <lersek@redhat.com>
Fri, 18 Mar 2016 19:46:17 +0000 (20:46 +0100)
committerLaszlo Ersek <lersek@redhat.com>
Fri, 25 Mar 2016 09:52:33 +0000 (10:52 +0100)
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c

index 595ef4a3e237e37f05f2c4ea3f9af0b805de2e62..0a3dd75181b383e348b8fbd65c95160bb71e2f53 100644 (file)
@@ -1710,7 +1710,6 @@ UsbSerialDriverBindingStart (
   EFI_SERIAL_IO_PROTOCOL              *SerialIo;\r
   UART_DEVICE_PATH                    *Uart;\r
   UART_FLOW_CONTROL_DEVICE_PATH       *FlowControl;\r
-  UINT32                              FlowControlMap;\r
   UINT32                              Control;\r
   EFI_DEVICE_PATH_PROTOCOL            *TempDevicePath;\r
 \r
@@ -1969,7 +1968,6 @@ UsbSerialDriverBindingStart (
   UsbSerialDevice->ParentDevicePath = ParentDevicePath;\r
   UsbSerialDevice->ControllerHandle = NULL;\r
   FlowControl                       = NULL;\r
-  FlowControlMap                    = 0;\r
 \r
   //\r
   // Allocate space for the receive buffer\r