]> git.baikalelectronics.ru Git - kernel.git/commit
remove unnecessary initial allocation of vc
authorPranay Kr. Srivastava <pranjas@gmail.com>
Tue, 21 Mar 2017 07:10:23 +0000 (12:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Mar 2017 13:16:52 +0000 (14:16 +0100)
commitf7c36484f3bfd89988e02f952aade86ff4b28d08
tree86c61409a9ebf04a5be0e12dc64626e1e42648a4
parentbca593750d37ef3cb6deda4b880adbd5d03ab4cc
remove unnecessary initial allocation of vc

This patch removes the unnecessary allocation of
current foreground vc during initialization.

This initialization is already handled in the loop
that follows it for all available virtual consoles.

Signed-off-by: Pranay Kr. Srivastava <pranjas@gmail.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/main.c