[patch] Remove unneeded null tty check in drivers/usb/serial/io_ti.c

2008-02-22 Thread Ray Lee
The Coverity checker (and Adrian Bunk) spotted an inconsistent NULL check of port->tty (it's blindly dereferenced later without the check). Alan Cox confirmed the check can go. Signed-off-by: Ray Lee <[EMAIL PROTECTED]> cc: linux-usb@vger.kernel.org cc: Greg KH <[EMAIL PROTE

Re: usb/serial/io_ti.c: inconsequent NULL checking

2008-02-19 Thread Ray Lee
On Feb 19, 2008 3:25 PM, Greg KH <[EMAIL PROTECTED]> wrote: > On Wed, Feb 20, 2008 at 12:49:15AM +0200, Adrian Bunk wrote: > > The Coverity checker spotted the following inconsequent NULL checking > > introduced by commit d5f5bcd425b771c0b7ff5a650b2ce061ac8bbb87: > > > > <-- snip --> > > It's not