Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29768
b: refs/heads/master
c: a2f20c7
h: refs/heads/master
v: v3
  • Loading branch information
Eric Sesterhenn authored and Linus Torvalds committed Jun 25, 2006
1 parent 0eb21dd commit a901347
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 969dd061d81d9e2bc7f954859452ac81cc639711
refs/heads/master: a2f20c7c274b6241767330c902b3111b9326d901
4 changes: 2 additions & 2 deletions trunk/drivers/char/esp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit a901347

Please sign in to comment.