usb_serial: Kill port mutex
The tty port has a port mutex used for all the port related locking so we don't need the one in the USB serial layer any more. Signed-off-by: Alan Cox <alan@linux.intel.com> Cc: Alan Stern <stern@rowland.harvard.edu> Cc: Oliver Neukum <oliver@neukum.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e1108a63e1
commit
82fc594343
@@ -897,7 +897,6 @@ int usb_serial_probe(struct usb_interface *interface,
|
||||
spin_lock_init(&port->lock);
|
||||
/* Keep this for private driver use for the moment but
|
||||
should probably go away */
|
||||
mutex_init(&port->mutex);
|
||||
INIT_WORK(&port->work, usb_serial_port_work);
|
||||
serial->port[i] = port;
|
||||
port->dev.parent = &interface->dev;
|
||||
|
Reference in New Issue
Block a user