From ac13c87566e0d2c0b0a963a057115939bc2ca53f Mon Sep 17 00:00:00 2001 From: Milton Miller Date: Thu, 7 Jul 2005 17:56:21 -0700 Subject: [PATCH] --- yaml --- r: 4227 b: refs/heads/master c: 5f6d9c072df162a8601a09e6c63fd0e4f5aecd06 h: refs/heads/master i: 4225: 18f691701d070dad3c6ed13bf24ed4b813cfc716 4223: 15d672f9580706ce44613224eba0f16379f6e6b6 v: v3 --- [refs] | 2 +- trunk/drivers/char/hvc_console.c | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index fd2e16067b6a..f0a2cc9cd9ed 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e51d8c90a5ead16810302b2dc5127724c9045e77 +refs/heads/master: 5f6d9c072df162a8601a09e6c63fd0e4f5aecd06 diff --git a/trunk/drivers/char/hvc_console.c b/trunk/drivers/char/hvc_console.c index 31980994fead..fd7532504252 100644 --- a/trunk/drivers/char/hvc_console.c +++ b/trunk/drivers/char/hvc_console.c @@ -146,8 +146,6 @@ struct hvc_struct *hvc_get_by_index(int index) */ 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