USB: cdc-acm: fix unprivileged TIOCCSERIAL
[linux-2.6-microblaze.git] / drivers / usb / class / cdc-acm.c
index 96e2218..43e31da 100644 (file)
@@ -955,8 +955,6 @@ static int set_serial_info(struct tty_struct *tty, struct serial_struct *ss)
                if ((close_delay != acm->port.close_delay) ||
                    (closing_wait != acm->port.closing_wait))
                        retval = -EPERM;
-               else
-                       retval = -EOPNOTSUPP;
        } else {
                acm->port.close_delay  = close_delay;
                acm->port.closing_wait = closing_wait;