Re: [2.6 patch] usb/serial/io_ti.c: remove unneeded NULL check

2008-02-22 Thread Alan Cox
Already patched in my tree -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[2.6 patch] usb/serial/io_ti.c: remove unneeded NULL check

2008-02-22 Thread Adrian Bunk
On Fri, Feb 22, 2008 at 10:10:16AM +, Alan Cox wrote: > > Either the test of port->tty here is unneeded: > > > > if (port->tty) > >port->tty->low_latency = low_latency; > > > > ...or the lack of test of port->tty here is a mistake: > > > > edge_set_termios (port,

[2.6 patch] usb/serial/io_ti.c: remove unneeded NULL check

2008-02-22 Thread Adrian Bunk
On Fri, Feb 22, 2008 at 10:10:16AM +, Alan Cox wrote: Either the test of port-tty here is unneeded: if (port-tty) port-tty-low_latency = low_latency; ...or the lack of test of port-tty here is a mistake: edge_set_termios (port, port-tty-termios);

Re: [2.6 patch] usb/serial/io_ti.c: remove unneeded NULL check

2008-02-22 Thread Alan Cox
Already patched in my tree -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/