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)
commitad5a942f6c2055597192b31f9a92c47bf851f90d
tree86c61409a9ebf04a5be0e12dc64626e1e42648a4
parent4e9cc9a0a5b6c03f3ab652719b3add6562dde25e
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