diff --git a/[refs] b/[refs] index 03e643094fb5..082a26fa4701 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ed6d68763b8b589c0ae9d231cbd72bd01f6685c5 +refs/heads/master: b1b135c8d619cb2c7045d6ee4e48375882518bb5 diff --git a/trunk/drivers/char/hvc_console.c b/trunk/drivers/char/hvc_console.c index 02aac104842d..fd64137b1ab9 100644 --- a/trunk/drivers/char/hvc_console.c +++ b/trunk/drivers/char/hvc_console.c @@ -322,11 +322,10 @@ static int hvc_open(struct tty_struct *tty, struct file * filp) hp->tty = tty; - if (hp->ops->notifier_add) - rc = hp->ops->notifier_add(hp, hp->data); - spin_unlock_irqrestore(&hp->lock, flags); + if (hp->ops->notifier_add) + rc = hp->ops->notifier_add(hp, hp->data); /* * If the notifier fails we return an error. The tty layer