From: Milton Miller num_vterms hasn't been used since the hotplug support went in. Also, remove a dead code line from a list_for_each_entry conversion. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton --- drivers/char/hvc_console.c | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff -puN drivers/char/hvc_console.c~hvc_console-remove-num_vterms-and-some-dead-code drivers/char/hvc_console.c --- 25/drivers/char/hvc_console.c~hvc_console-remove-num_vterms-and-some-dead-code Wed Jul 6 14:00:31 2005 +++ 25-akpm/drivers/char/hvc_console.c Wed Jul 6 14:00:31 2005 @@ -146,8 +146,6 @@ struct hvc_struct *hvc_get_by_index(int */ static uint32_t vtermnos[MAX_NR_HVC_CONSOLES]; -/* Used for accounting purposes */ -static int num_vterms = 0; /* * Console APIs, NOT TTY. These APIs are available immediately when @@ -219,7 +217,7 @@ static int __init hvc_console_init(void) for (i=0; i