fixup! usb: cdc-acm: remove tty_hangup in acm_reset_resume
Dan Willemsen [Thu, 22 Aug 2013 22:22:41 +0000 (15:22 -0700)]
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

drivers/usb/class/cdc-acm.c

index 18a3d3e..92ce7bf 100644 (file)
@@ -1577,6 +1577,7 @@ err_out:
 static int acm_reset_resume(struct usb_interface *intf)
 {
        struct acm *acm = usb_get_intfdata(intf);
+       struct tty_struct *tty;
 
        if (!acm) {
                pr_err("%s: !acm\n", __func__);