diff mbox

[edk2,18/35] OptionRomPkg: FtdiUsbSerialDxe: remove set but unused variables

Message ID 1458815844-24793-19-git-send-email-lersek@redhat.com
State Accepted
Commit 025bf7bbde75639d5f761a5826dd852ca6a75d8d
Headers show

Commit Message

Laszlo Ersek March 24, 2016, 10:37 a.m. UTC
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>

---
 OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c | 2 --
 1 file changed, 2 deletions(-)

-- 
1.8.3.1


_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox

Patch

diff --git a/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c b/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDriver.c
index 595ef4a3e237..0a3dd75181b3 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