Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2021 09:21:42 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: bc2b797c4a3e - stable/13 - fb: Remove unused code
Message-ID:  <202112210921.1BL9LgTV092548@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=bc2b797c4a3e2da7cf462005c6d649af01c4455c

commit bc2b797c4a3e2da7cf462005c6d649af01c4455c
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-12-01 10:43:46 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2021-12-21 09:18:47 +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
    
    (cherry picked from commit 95744d84b13ee1c34fd6d04fb3ff82cb8a34ac45)
---
 sys/sys/fbio.h | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/sys/sys/fbio.h b/sys/sys/fbio.h
index 4cc0cc6debba..86e21da68d6e 100644
--- a/sys/sys/fbio.h
+++ b/sys/sys/fbio.h
@@ -171,22 +171,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.
  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112210921.1BL9LgTV092548>