Re: [PATCH] INPUT: tps6507x-ts, remove unneeded NULL test

From: Dmitry Torokhov
Date: Wed Jun 23 2010 - 02:23:51 EST


On Tue, Jun 22, 2010 at 01:41:02PM +0200, Jiri Slaby wrote:
> Stanse found that tsc is dereferenced earlier than checked for being
> NULL in tps6507x_ts_remove. Remove the test because I see no way, how
> tsc can be NULL there.
>
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
> Cc: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> Cc: Todd Fischer <todd.fischer@xxxxxxxxxxxx>
> Cc: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx>
> Cc: linux-input@xxxxxxxxxxxxxxx

Applied, thanks Jiri.

--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/