From 126c7e29feb1dd257a5d30cb4c34e9b4aaee97ef Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Tue, 17 Dec 2002 19:30:50 +0000 Subject: [PATCH] Remove unused variable cn_devfsdev. --- sys/kern/tty_cons.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/kern/tty_cons.c b/sys/kern/tty_cons.c index bcd33895ff5f..361a5ddedaa2 100644 --- a/sys/kern/tty_cons.c +++ b/sys/kern/tty_cons.c @@ -115,7 +115,6 @@ int cons_unavail = 0; /* XXX: static int cn_mute; static int openflag; /* how /dev/console was opened */ static int cn_is_open; -static dev_t cn_devfsdev; /* represents the device private info */ static u_char console_pausing; /* pause after each line during probe */ static char *console_pausestr= ""; @@ -592,7 +591,7 @@ static void cn_drvinit(void *unused) { - cn_devfsdev = make_dev(&cn_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600, + make_dev(&cn_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600, "console"); }