From b4d6f74dce65466e5f008f22e1b62391fd44ae68 Mon Sep 17 00:00:00 2001 From: Yoshihiro Takahashi Date: Sun, 15 May 2005 07:35:49 +0000 Subject: [PATCH] Remove the ADJUST_CLOCK ioctl on pc98. It's not used at all. --- sys/dev/syscons/syscons.c | 6 ------ sys/sys/consio.h | 4 ---- 2 files changed, 10 deletions(-) diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index a4e5d8b8c7e..66ef368aa95 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -1340,12 +1340,6 @@ scioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *td) #endif /* SC_NO_FONT_LOADING */ -#ifdef PC98 - case ADJUST_CLOCK: /* /dev/rtc for 98note resume */ - inittodr(0); - return 0; -#endif - default: break; } diff --git a/sys/sys/consio.h b/sys/sys/consio.h index 24b7b969d84..505ef060d96 100644 --- a/sys/sys/consio.h +++ b/sys/sys/consio.h @@ -290,10 +290,6 @@ typedef struct term_info term_info_t; #define CONS_GETTERM _IOWR('c', 112, term_info_t) #define CONS_SETTERM _IOW('c', 113, term_info_t) -#ifdef PC98 -#define ADJUST_CLOCK _IO('t',100) /* for 98note resume */ -#endif - /* * Vty switching ioctl commands. */