commit | b56394bf325820e9f338eaef2941f18b17b98098 | [log] [tgz] |
---|---|---|
author | Ray Lee <ray-lk@madrabbit.org> | Tue Mar 04 15:25:12 2008 -0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Apr 24 21:16:40 2008 -0700 |
tree | 46a38ee7583d5341ec69d257029218e805fb3ccb | |
parent | dfa5ec79d28300b0d1fdeafbeebf0a6b721edc38 [diff] |
USB: io_ti.c: remove unneeded null tty check 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 <ray-lk@madrabbit.org> Cc: Adrian Bunk <bunk@kernel.org> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>