remove unnecessary initial allocation of vc
authorPranay Kr. Srivastava <[email protected]>
Tue, 21 Mar 2017 07:10:23 +0000 (12:40 +0530)
committerGreg Kroah-Hartman <[email protected]>
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 <[email protected]>
Reviewed-by: Samuel Thibault <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/staging/speakup/main.c