summaryrefslogtreecommitdiff
path: root/OptionRomPkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2016-03-18 20:46:17 +0100
committerLaszlo Ersek <lersek@redhat.com>2016-03-25 10:52:33 +0100
commit025bf7bbde75639d5f761a5826dd852ca6a75d8d (patch)
tree6f1692864465446129cd51cd2ca3eba69a35b365 /OptionRomPkg
parentaa5fc205ddf1cc5339196b411cc4afa196f3411d (diff)
downloadedk2-025bf7bbde75639d5f761a5826dd852ca6a75d8d.zip
edk2-025bf7bbde75639d5f761a5826dd852ca6a75d8d.tar.gz
edk2-025bf7bbde75639d5f761a5826dd852ca6a75d8d.tar.bz2
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>
Diffstat (limited to 'OptionRomPkg')
-rw-r--r--OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c b/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c
index 595ef4a..0a3dd75 100644
--- a/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c
+++ b/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c
@@ -1710,7 +1710,6 @@ UsbSerialDriverBindingStart (
EFI_SERIAL_IO_PROTOCOL *SerialIo;
UART_DEVICE_PATH *Uart;
UART_FLOW_CONTROL_DEVICE_PATH *FlowControl;
- UINT32 FlowControlMap;
UINT32 Control;
EFI_DEVICE_PATH_PROTOCOL *TempDevicePath;
@@ -1969,7 +1968,6 @@ UsbSerialDriverBindingStart (
UsbSerialDevice->ParentDevicePath = ParentDevicePath;
UsbSerialDevice->ControllerHandle = NULL;
FlowControl = NULL;
- FlowControlMap = 0;
//
// Allocate space for the receive buffer