diff options
-rw-r--r-- | drivers/char/hvc_console.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/hvc_console.c b/drivers/char/hvc_console.c index d97779ef72cb..25ce15bb1c08 100644 --- a/drivers/char/hvc_console.c +++ b/drivers/char/hvc_console.c | |||
@@ -516,8 +516,6 @@ static void hvc_set_winsz(struct work_struct *work) | |||
516 | struct winsize ws; | 516 | struct winsize ws; |
517 | 517 | ||
518 | hp = container_of(work, struct hvc_struct, tty_resize); | 518 | hp = container_of(work, struct hvc_struct, tty_resize); |
519 | if (!hp) | ||
520 | return; | ||
521 | 519 | ||
522 | spin_lock_irqsave(&hp->lock, hvc_flags); | 520 | spin_lock_irqsave(&hp->lock, hvc_flags); |
523 | if (!hp->tty) { | 521 | if (!hp->tty) { |