The patch titled riscom8: remove redundant null pointer test has been removed from the -mm tree. Its filename was riscom8-remove-redundant-null-pointer-test.patch This patch was dropped because it is obsolete The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: riscom8: remove redundant null pointer test From: Chris Malley <mail@xxxxxxxxxxxxxxxxx> tty has already been dereferenced at least twice in these functions, so checking for null here seems a bit unnecessary. Signed-off-by: Chris Malley <mail@xxxxxxxxxxxxxxxxx> Acked-by: Alan Cox <alan@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/char/riscom8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/char/riscom8.c~riscom8-remove-redundant-null-pointer-test drivers/char/riscom8.c --- a/drivers/char/riscom8.c~riscom8-remove-redundant-null-pointer-test +++ a/drivers/char/riscom8.c @@ -1108,7 +1108,7 @@ static int rc_write(struct tty_struct *t bp = port_Board(port); - if (!tty || !port->xmit_buf) + if (!port->xmit_buf) return 0; while (1) { @@ -1151,7 +1151,7 @@ static int rc_put_char(struct tty_struct if (rc_paranoia_check(port, tty->name, "rc_put_char")) return 0; - if (!tty || !port->xmit_buf) + if (!port->xmit_buf) return 0; spin_lock_irqsave(&riscom_lock, flags); _ Patches currently in -mm which might be from mail@xxxxxxxxxxxxxxxxx are linux-next.patch riscom8-remove-redundant-null-pointer-test.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html