]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tty: Remove lots of NULL checks
authorAlan Cox <alan@redhat.com>
Mon, 13 Oct 2008 09:44:57 +0000 (10:44 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:44 +0000 (09:51 -0700)
commit51383f69ec56fe3f425d5255fb43e18c445e061c
treef9d9e280892702c3a47ffa807c0937ea9c80e315
parentea1afd256258f04a290aaa7fd5c2d4deb2e79e26
tty: Remove lots of NULL checks

Many tty drivers contain 'can't happen' checks against NULL pointers passed
in by the tty layer. These have never been possible to occur. Even more
importantly if they ever do occur we want to know as it would be a serious
bug.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/amiserial.c
drivers/char/generic_serial.c
drivers/char/istallion.c
drivers/char/mxser.c
drivers/char/n_r3964.c
drivers/char/stallion.c