]> git.baikalelectronics.ru Git - kernel.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)
commit9c881c82c7a5d9b1c8179a1ee92df76bc5aa4f2c
treef9d9e280892702c3a47ffa807c0937ea9c80e315
parent32b07ac7ce09f7e5ea29b0dbd8e788daa61c8d2b
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