module_param: make bool parameters really bool (drivers & misc)
[sfrench/cifs-2.6.git] / drivers / usb / serial / symbolserial.c
index 7096f799b071a1813888c714746dc1623b81acb2..50651cf4fc613bc8ab0e89de48755361d50e9936 100644 (file)
@@ -20,7 +20,7 @@
 #include <linux/usb/serial.h>
 #include <linux/uaccess.h>
 
-static int debug;
+static bool debug;
 
 static const struct usb_device_id id_table[] = {
        { USB_DEVICE(0x05e0, 0x0600) },
@@ -182,7 +182,6 @@ static void symbol_unthrottle(struct tty_struct *tty)
        priv->actually_throttled = false;
        spin_unlock_irq(&priv->lock);
 
-       priv->int_urb->dev = port->serial->dev;
        if (was_throttled) {
                result = usb_submit_urb(priv->int_urb, GFP_KERNEL);
                if (result)