OptionRomPkg: FtdiUsbSerialDxe: remove set but unused variables

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>
This commit is contained in:
Laszlo Ersek 2016-03-18 20:46:17 +01:00
parent aa5fc205dd
commit 025bf7bbde
1 changed files with 0 additions and 2 deletions

View File

@ -1710,7 +1710,6 @@ UsbSerialDriverBindingStart (
EFI_SERIAL_IO_PROTOCOL *SerialIo; EFI_SERIAL_IO_PROTOCOL *SerialIo;
UART_DEVICE_PATH *Uart; UART_DEVICE_PATH *Uart;
UART_FLOW_CONTROL_DEVICE_PATH *FlowControl; UART_FLOW_CONTROL_DEVICE_PATH *FlowControl;
UINT32 FlowControlMap;
UINT32 Control; UINT32 Control;
EFI_DEVICE_PATH_PROTOCOL *TempDevicePath; EFI_DEVICE_PATH_PROTOCOL *TempDevicePath;
@ -1969,7 +1968,6 @@ UsbSerialDriverBindingStart (
UsbSerialDevice->ParentDevicePath = ParentDevicePath; UsbSerialDevice->ParentDevicePath = ParentDevicePath;
UsbSerialDevice->ControllerHandle = NULL; UsbSerialDevice->ControllerHandle = NULL;
FlowControl = NULL; FlowControl = NULL;
FlowControlMap = 0;
// //
// Allocate space for the receive buffer // Allocate space for the receive buffer