Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123908
b: refs/heads/master
c: 7de40c2
h: refs/heads/master
v: v3
  • Loading branch information
Ben Dooks committed Dec 18, 2008
1 parent 5c42113 commit d25791b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: 5bdf67312e1ddc03cb29dad9bfe5b24988ee1c97
refs/heads/master: 7de40c216c15c02c453f17b6c9ecee83f93790f1
8 changes: 2 additions & 6 deletions trunk/drivers/serial/samsung.c
Original file line number Diff line number Diff line change
Expand Up @@ -937,17 +937,13 @@ static int s3c24xx_serial_cpufreq_transition(struct notifier_block *nb,
struct ktermios *termios;
struct tty_struct *tty;

if (uport->info == NULL) {
printk(KERN_WARNING "%s: info NULL\n", __func__);
if (uport->info == NULL)
goto exit;
}

tty = uport->info->port.tty;

if (tty == NULL) {
printk(KERN_WARNING "%s: tty is NULL\n", __func__);
if (tty == NULL)
goto exit;
}

termios = tty->termios;

Expand Down

0 comments on commit d25791b

Please sign in to comment.