The patch titled moxa: remove pointless check of 'tty' argument vs NULL has been removed from the -mm tree. Its filename is moxa-remove-pointless-check-of-tty-argument-vs-null.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: moxa: remove pointless check of 'tty' argument vs NULL From: Jesper Juhl <jesper.juhl@xxxxxxxxx> Remove pointless check of 'tty' argument vs NULL from moxa driver. Signed-off-by: Jesper Juhl <jesper.juhl@xxxxxxxxx> Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/char/mxser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/char/mxser.c~moxa-remove-pointless-check-of-tty-argument-vs-null drivers/char/mxser.c --- a/drivers/char/mxser.c~moxa-remove-pointless-check-of-tty-argument-vs-null +++ a/drivers/char/mxser.c @@ -1081,7 +1081,7 @@ static int mxser_write(struct tty_struct struct mxser_struct *info = tty->driver_data; unsigned long flags; - if (!tty || !info->xmit_buf) + if (!info->xmit_buf) return (0); while (1) { @@ -1117,7 +1117,7 @@ static void mxser_put_char(struct tty_st struct mxser_struct *info = tty->driver_data; unsigned long flags; - if (!tty || !info->xmit_buf) + if (!info->xmit_buf) return; if (info->xmit_cnt >= SERIAL_XMIT_SIZE - 1) _ Patches currently in -mm which might be from jesper.juhl@xxxxxxxxx are origin.patch small-whitespace-cleanup-for-qlogic-driver.patch add-scsi_add_host-failure-handling-for-nsp32.patch bluetooth-fix-potential-null-ptr-deref-in-dtl1_cscdtl1_hci_send_frame.patch i-force-joystick-remove-some-pointless-casts.patch remove-redundant-null-checks-before-free-in-fs.patch remove-redundant-null-checks-before-free-in-kernel.patch remove-redundant-null-checks-before-free-in-drivers.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