From a90134760f18a706c40d4cf67305e28b0fd45744 Mon Sep 17 00:00:00 2001 From: Eric Sesterhenn Date: Sun, 25 Jun 2006 05:48:46 -0700 Subject: [PATCH] --- yaml --- r: 29768 b: refs/heads/master c: a2f20c7c274b6241767330c902b3111b9326d901 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/char/esp.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index a72d626a9298..38e9efdccbe7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 969dd061d81d9e2bc7f954859452ac81cc639711 +refs/heads/master: a2f20c7c274b6241767330c902b3111b9326d901 diff --git a/trunk/drivers/char/esp.c b/trunk/drivers/char/esp.c index 09dc4b01232c..922174d527ae 100644 --- a/trunk/drivers/char/esp.c +++ b/trunk/drivers/char/esp.c @@ -1212,7 +1212,7 @@ static void rs_put_char(struct tty_struct *tty, unsigned char ch) if (serial_paranoia_check(info, tty->name, "rs_put_char")) return; - if (!tty || !info->xmit_buf) + if (!info->xmit_buf) return; spin_lock_irqsave(&info->lock, flags); @@ -1256,7 +1256,7 @@ static int rs_write(struct tty_struct * tty, if (serial_paranoia_check(info, tty->name, "rs_write")) return 0; - if (!tty || !info->xmit_buf) + if (!info->xmit_buf) return 0; while (1) {