diff options
Diffstat (limited to 'drivers/usb/serial/option.c')
-rw-r--r-- | drivers/usb/serial/option.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 98262dd552bb..77b9563ec43e 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c | |||
@@ -831,7 +831,6 @@ static void option_instat_callback(struct urb *urb) | |||
831 | int status = urb->status; | 831 | int status = urb->status; |
832 | struct usb_serial_port *port = urb->context; | 832 | struct usb_serial_port *port = urb->context; |
833 | struct option_port_private *portdata = usb_get_serial_port_data(port); | 833 | struct option_port_private *portdata = usb_get_serial_port_data(port); |
834 | struct usb_serial *serial = port->serial; | ||
835 | 834 | ||
836 | dbg("%s", __func__); | 835 | dbg("%s", __func__); |
837 | dbg("%s: urb %p port %p has data %p", __func__, urb, port, portdata); | 836 | dbg("%s: urb %p port %p has data %p", __func__, urb, port, portdata); |
@@ -927,7 +926,6 @@ static int option_open(struct tty_struct *tty, | |||
927 | struct usb_serial_port *port, struct file *filp) | 926 | struct usb_serial_port *port, struct file *filp) |
928 | { | 927 | { |
929 | struct option_port_private *portdata; | 928 | struct option_port_private *portdata; |
930 | struct usb_serial *serial = port->serial; | ||
931 | int i, err; | 929 | int i, err; |
932 | struct urb *urb; | 930 | struct urb *urb; |
933 | 931 | ||