git: 87fae70dc58a - main - fb: Remove unused FBIOVERTICAL ioctl
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Dec 2021 10:29:46 UTC
The branch main has been updated by manu:
URL: https://cgit.FreeBSD.org/src/commit/?id=87fae70dc58a16dfcdad75f929485c79d557bdd5
commit 87fae70dc58a16dfcdad75f929485c79d557bdd5
Author: Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-12-01 10:53:03 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2021-12-06 10:27:55 +0000
fb: Remove unused FBIOVERTICAL ioctl
Commit 6d1699583d7e added the FBIOVERTICAL ioctl and said that implementation
in driver will come later.
Since it was in 2001 I think we can remove this.
MFC after: 2 weeks
Sponsored by: Beckhoff Automation GmbH & Co. KG
---
sys/dev/fb/fb.c | 1 -
sys/sys/fbio.h | 3 ---
2 files changed, 4 deletions(-)
diff --git a/sys/dev/fb/fb.c b/sys/dev/fb/fb.c
index f6e7f0837210..8226c3317c6b 100644
--- a/sys/dev/fb/fb.c
+++ b/sys/dev/fb/fb.c
@@ -738,7 +738,6 @@ fb_commonioctl(video_adapter_t *adp, u_long cmd, caddr_t arg)
case FBIO_SETLINEWIDTH: /* set scan line width in pixel */
case FBIOGTYPE:
- case FBIOVERTICAL:
case FBIOSCURSOR:
case FBIOGCURSOR:
case FBIOSCURPOS:
diff --git a/sys/sys/fbio.h b/sys/sys/fbio.h
index 63709e7c6bf1..ff63c2f064b1 100644
--- a/sys/sys/fbio.h
+++ b/sys/sys/fbio.h
@@ -195,9 +195,6 @@ struct fbcmap {
#define FBIOPUTCMAP _IOW('F', 3, struct fbcmap)
#define FBIOGETCMAP _IOW('F', 4, struct fbcmap)
-/* vertical retrace */
-#define FBIOVERTICAL _IO('F', 9)
-
/*
* Hardware cursor control (for, e.g., CG6). A rather complex and icky
* interface that smells like VMS, but there it is....