Re: [PATCH] riscom8: remove redundant null pointer test

Alan Cox
2008-05-12T20:11:46Z

On Mon, 12 May 2008 19:27:10 +0100
Chris Malley <mail@chrismalley.co.uk> wrote:

> tty has already been dereferenced at least twice in these functions,
> so checking for null here seems a bit unnecessary.

Oh it is - and lots of the other tty checks are bogus too.

Acked-by: Alan Cox <alan@redhat.com>

Alan