git: 95744d84b13e - main - fb: Remove unused code
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Dec 2021 10:29:43 UTC
The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=95744d84b13ee1c34fd6d04fb3ff82cb8a34ac45 commit 95744d84b13ee1c34fd6d04fb3ff82cb8a34ac45 Author: Emmanuel Vadot <manu@FreeBSD.org> AuthorDate: 2021-12-01 10:43:46 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2021-12-06 10:27:49 +0000 fb: Remove unused code The FBIOGINFO ioctl was added in 1994 with the 4.4 Lite import but was commented. Remove it. Reviewed by: emaste MFC after: 2 weeks Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D33211 --- sys/sys/fbio.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/sys/sys/fbio.h b/sys/sys/fbio.h index c44774a766a0..c13ef43d2fb9 100644 --- a/sys/sys/fbio.h +++ b/sys/sys/fbio.h @@ -182,22 +182,6 @@ unregister_framebuffer(struct fb_info *info) } #endif -#ifdef notdef -/* - * General purpose structure for passing info in and out of frame buffers - * (used for gp1) -- unsupported. - */ -struct fbinfo { - int fb_physaddr; /* physical frame buffer address */ - int fb_hwwidth; /* fb board width */ - int fb_hwheight; /* fb board height */ - int fb_addrdelta; /* phys addr diff between boards */ - u_char *fb_ropaddr; /* fb virtual addr */ - int fb_unit; /* minor devnum of fb */ -}; -#define FBIOGINFO _IOR('F', 2, struct fbinfo) -#endif - /* * Color map I/O. */