summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2012-10-29 10:56:21 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-30 21:19:30 +0100
commit81e84424f9da413b4e3edb00e25a19783304c7d1 (patch)
tree9d384fc8a635c2a371e8362310b48aca46a1a7a9 /drivers/usb/serial
parentUSB: fix build with XEN and EARLY_PRINTK_DBGP enabled but USB_SUPPORT disabled (diff)
downloadlinux-81e84424f9da413b4e3edb00e25a19783304c7d1.tar.xz
linux-81e84424f9da413b4e3edb00e25a19783304c7d1.zip
USB: ftdi_sio: remove unused private port-data
Remove unused port field from private port data. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r--drivers/usb/serial/ftdi_sio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index 95e317c8762b..48cbc39e6d8e 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -73,7 +73,6 @@ struct ftdi_private {
char prev_status; /* Used for TIOCMIWAIT */
bool dev_gone; /* Used to abort TIOCMIWAIT */
char transmit_empty; /* If transmitter is empty or not */
- struct usb_serial_port *port;
__u16 interface; /* FT2232C, FT2232H or FT4232H port interface
(0 for FT232/245) */
@@ -1692,7 +1691,6 @@ static int ftdi_sio_port_probe(struct usb_serial_port *port)
if (quirk && quirk->port_probe)
quirk->port_probe(priv);
- priv->port = port;
usb_set_serial_port_data(port, priv);
ftdi_determine_type(port);