diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/serial/samsung.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/serial/samsung.c b/drivers/serial/samsung.c index dc7e7ebad236..41ac94872b8d 100644 --- a/drivers/serial/samsung.c +++ b/drivers/serial/samsung.c | |||
@@ -937,17 +937,13 @@ static int s3c24xx_serial_cpufreq_transition(struct notifier_block *nb, | |||
937 | struct ktermios *termios; | 937 | struct ktermios *termios; |
938 | struct tty_struct *tty; | 938 | struct tty_struct *tty; |
939 | 939 | ||
940 | if (uport->info == NULL) { | 940 | if (uport->info == NULL) |
941 | printk(KERN_WARNING "%s: info NULL\n", __func__); | ||
942 | goto exit; | 941 | goto exit; |
943 | } | ||
944 | 942 | ||
945 | tty = uport->info->port.tty; | 943 | tty = uport->info->port.tty; |
946 | 944 | ||
947 | if (tty == NULL) { | 945 | if (tty == NULL) |
948 | printk(KERN_WARNING "%s: tty is NULL\n", __func__); | ||
949 | goto exit; | 946 | goto exit; |
950 | } | ||
951 | 947 | ||
952 | termios = tty->termios; | 948 | termios = tty->termios; |
953 | 949 | ||