]> err.no Git - linux-2.6/blobdiff - drivers/usb/serial/io_ti.c
USB: io_ti.c: remove unneeded null tty check
[linux-2.6] / drivers / usb / serial / io_ti.c
index 6afee30a6a5ce03c1c1f5045c8f9546dc5667a2e..316467ecd7788ba1a8d036f690c27444359078b9 100644 (file)
@@ -1941,8 +1941,7 @@ static int edge_open (struct usb_serial_port *port, struct file * filp)
        if (edge_port == NULL)
                return -ENODEV;
 
-       if (port->tty)
-               port->tty->low_latency = low_latency;
+       port->tty->low_latency = low_latency;
 
        port_number = port->number - port->serial->minor;
        switch (port_number) {