Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29713
b: refs/heads/master
c: 8a7f7c9
h: refs/heads/master
i:
  29711: c4f62b6
v: v3
  • Loading branch information
Jesper Juhl authored and Linus Torvalds committed Jun 25, 2006
1 parent 055858b commit 4979b47
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: 56e139f62bd7b82430cfcf01fcbd42e1d84fb738
refs/heads/master: 8a7f7c9307962ffdf81561ec8742fde1fad9fe10
4 changes: 2 additions & 2 deletions trunk/drivers/char/mxser.c
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ static int mxser_write(struct tty_struct *tty, const unsigned char *buf, int cou
struct mxser_struct *info = tty->driver_data;
unsigned long flags;

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

while (1) {
Expand Down Expand Up @@ -1117,7 +1117,7 @@ static void mxser_put_char(struct tty_struct *tty, unsigned char ch)
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)
Expand Down

0 comments on commit 4979b47

Please sign in to comment.