diff --git a/[refs] b/[refs] index 88fc22906745..7a0e5a5f23de 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5bdf67312e1ddc03cb29dad9bfe5b24988ee1c97 +refs/heads/master: 7de40c216c15c02c453f17b6c9ecee83f93790f1 diff --git a/trunk/drivers/serial/samsung.c b/trunk/drivers/serial/samsung.c index dc7e7ebad236..41ac94872b8d 100644 --- a/trunk/drivers/serial/samsung.c +++ b/trunk/drivers/serial/samsung.c @@ -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;