diff options
author | phk <phk@FreeBSD.org> | 2002-12-17 19:30:50 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-12-17 19:30:50 +0000 |
commit | 8e3220509fd5b469736d9b5cd53bf6bd9bf2a2b2 (patch) | |
tree | 5a0350b11fb30fb79dcc3226bf83efe52a5b4f45 /sys/kern | |
parent | dda8e8638d09df30666f8aafb2bc5676f809401a (diff) | |
download | FreeBSD-src-8e3220509fd5b469736d9b5cd53bf6bd9bf2a2b2.zip FreeBSD-src-8e3220509fd5b469736d9b5cd53bf6bd9bf2a2b2.tar.gz |
Remove unused variable cn_devfsdev.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/tty_cons.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/tty_cons.c b/sys/kern/tty_cons.c index bcd3389..361a5dd 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= "<pause; press any key to proceed to next line or '.' to end pause mode>"; @@ -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"); } |