Input: tps6507x-ts - remove unneeded NULL test
authorJiri Slaby <jslaby@suse.cz>
Tue, 22 Jun 2010 18:25:03 +0000 (11:25 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 23 Jun 2010 16:44:51 +0000 (09:44 -0700)
commit4aaf504670e38da9cb929988cdce05648fa635a7
treee140a5fc1c3031edcc9ae9f5ca82273ae3ba1e5a
parentfb76dd10b91146e9cefbb3cd4e6812c5a95ee43b
Input: tps6507x-ts - remove unneeded NULL test

Stanse found that tsc is dereferenced earlier than checked for being
NULL in tps6507x_ts_remove. Remove the test because there is no way
for tsc to be NULL there.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/tps6507x-ts.c