--- zzzz-none-000/linux-2.6.39.4/drivers/usb/serial/usb-serial.c 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/drivers/usb/serial/usb-serial.c 2021-11-10 13:38:17.000000000 +0000 @@ -1130,11 +1130,9 @@ * driver's port_remove method is called. */ if (!port->dev.driver) { - int rc; - port->dev.driver = &serial->type->driver; - rc = device_bind_driver(&port->dev); + (void)device_bind_driver(&port->dev); } port->dev_state = PORT_UNREGISTERING; device_del(&port->dev);