Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185192
b: refs/heads/master
c: ca1cce4
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Slaby authored and Greg Kroah-Hartman committed Mar 2, 2010
1 parent cac2a3c commit be15704
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: e6c4ef984ebbd1a0458503417da91f3de47cbbe0
refs/heads/master: ca1cce49c2778439d00bbf516f70386f3d3b71e5
4 changes: 2 additions & 2 deletions trunk/drivers/char/synclink.c
Original file line number Diff line number Diff line change
Expand Up @@ -2031,7 +2031,7 @@ static int mgsl_put_char(struct tty_struct *tty, unsigned char ch)
if (mgsl_paranoia_check(info, tty->name, "mgsl_put_char"))
return 0;

if (!tty || !info->xmit_buf)
if (!info->xmit_buf)
return 0;

spin_lock_irqsave(&info->irq_spinlock, flags);
Expand Down Expand Up @@ -2121,7 +2121,7 @@ static int mgsl_write(struct tty_struct * tty,
if (mgsl_paranoia_check(info, tty->name, "mgsl_write"))
goto cleanup;

if (!tty || !info->xmit_buf)
if (!info->xmit_buf)
goto cleanup;

if ( info->params.mode == MGSL_MODE_HDLC ||
Expand Down

0 comments on commit be15704

Please sign in to comment.