Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29771
b: refs/heads/master
c: 326f28e
h: refs/heads/master
i:
  29769: 71540ab
  29767: 0eb21dd
v: v3
  • Loading branch information
Eric Sesterhenn authored and Linus Torvalds committed Jun 25, 2006
1 parent 4d6f037 commit 3816649
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 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: fa791f5bdfa026a9abe1b48934943fd39f1e300b
refs/heads/master: 326f28e9ec4b2619c2fd410593fc95fcb0ba6b41
4 changes: 2 additions & 2 deletions trunk/drivers/char/isicom.c
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ static int isicom_write(struct tty_struct *tty, const unsigned char *buf,
if (isicom_paranoia_check(port, tty->name, "isicom_write"))
return 0;

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

spin_lock_irqsave(&card->card_lock, flags);
Expand Down Expand Up @@ -1180,7 +1180,7 @@ static void isicom_put_char(struct tty_struct *tty, unsigned char ch)
if (isicom_paranoia_check(port, tty->name, "isicom_put_char"))
return;

if (!tty || !port->xmit_buf)
if (!port->xmit_buf)
return;

spin_lock_irqsave(&card->card_lock, flags);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/char/pcmcia/synclink_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1582,7 +1582,7 @@ static void mgslpc_put_char(struct tty_struct *tty, unsigned char ch)
if (mgslpc_paranoia_check(info, tty->name, "mgslpc_put_char"))
return;

if (!tty || !info->tx_buf)
if (!info->tx_buf)
return;

spin_lock_irqsave(&info->lock,flags);
Expand Down Expand Up @@ -1649,7 +1649,7 @@ static int mgslpc_write(struct tty_struct * tty,
__FILE__,__LINE__,info->device_name,count);

if (mgslpc_paranoia_check(info, tty->name, "mgslpc_write") ||
!tty || !info->tx_buf)
!info->tx_buf)
goto cleanup;

if (info->params.mode == MGSL_MODE_HDLC) {
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/char/specialix.c
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,7 @@ static int sx_write(struct tty_struct * tty,

bp = port_Board(port);

if (!tty || !port->xmit_buf || !tmp_buf) {
if (!port->xmit_buf || !tmp_buf) {
func_exit();
return 0;
}
Expand Down Expand Up @@ -1733,7 +1733,7 @@ static void sx_put_char(struct tty_struct * tty, unsigned char ch)
return;
}
dprintk (SX_DEBUG_TX, "check tty: %p %p\n", tty, port->xmit_buf);
if (!tty || !port->xmit_buf) {
if (!port->xmit_buf) {
func_exit();
return;
}
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/char/synclink_gt.c
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ static int write(struct tty_struct *tty,
goto cleanup;
DBGINFO(("%s write count=%d\n", info->device_name, count));

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

if (count > info->max_frame_size) {
Expand Down Expand Up @@ -924,7 +924,7 @@ static void put_char(struct tty_struct *tty, unsigned char ch)
if (sanity_check(info, tty->name, "put_char"))
return;
DBGINFO(("%s put_char(%d)\n", info->device_name, ch));
if (!tty || !info->tx_buf)
if (!info->tx_buf)
return;
spin_lock_irqsave(&info->lock,flags);
if (!info->tx_active && (info->tx_count < info->max_frame_size))
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/char/synclinkmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ static int write(struct tty_struct *tty,
if (sanity_check(info, tty->name, "write"))
goto cleanup;

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

if (info->params.mode == MGSL_MODE_HDLC) {
Expand Down Expand Up @@ -1067,7 +1067,7 @@ static void put_char(struct tty_struct *tty, unsigned char ch)
if (sanity_check(info, tty->name, "put_char"))
return;

if (!tty || !info->tx_buf)
if (!info->tx_buf)
return;

spin_lock_irqsave(&info->lock,flags);
Expand Down

0 comments on commit 3816649

Please sign in to comment.