]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ip2: remove unneeded NULL check
authorDan Carpenter <error27@gmail.com>
Thu, 12 Aug 2010 20:48:57 +0000 (13:48 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Aug 2010 01:17:20 +0000 (18:17 -0700)
commitf64ac9830b2a2455208ee023f6bac480ae159db4
treec91728532925b176ceb970f3278e5c267e3b669c
parent07cda511c78db79974f56b277b3704bfc6bba711
ip2: remove unneeded NULL check

We don't pass NULL tty pointers to the close function, and anyway we
already dereferenced it at this point.  This check can be removed.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: "Michael H. Warfield" <mhw@wittsend.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/ip2/ip2main.c