[PATCH 29/31] XFree86: os-support: Remove unused xf86MakeNewMapping
Daniel Stone
daniel at fooishbar.org
Fri Dec 2 03:31:35 PST 2011
No drivers used this, so it got unexported, and now it's so unused it
got culled during the link. Take the poor function out behind the shed
and put it out of its misery.
Signed-off-by: Daniel Stone <daniel at fooishbar.org>
---
hw/xfree86/os-support/shared/vidmem.c | 12 ------------
hw/xfree86/os-support/xf86_OSproc.h | 1 -
2 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/hw/xfree86/os-support/shared/vidmem.c b/hw/xfree86/os-support/shared/vidmem.c
index 54f6c64..3e0a0b1 100644
--- a/hw/xfree86/os-support/shared/vidmem.c
+++ b/hw/xfree86/os-support/shared/vidmem.c
@@ -160,18 +160,6 @@ checkMtrrOption(VidMapPtr vp)
}
void
-xf86MakeNewMapping(int ScreenNum, int Flags, unsigned long Base, unsigned long Size, pointer Vbase)
-{
- VidMapPtr vp;
- MappingPtr mp;
-
- vp = getVidMapRec(ScreenNum);
- mp = newMapping(vp);
- mp->size = Size;
- mp->virtBase = Vbase;
-}
-
-void
xf86InitVidMem(void)
{
if (!vidMemInfo.initialised) {
diff --git a/hw/xfree86/os-support/xf86_OSproc.h b/hw/xfree86/os-support/xf86_OSproc.h
index bce6869..8a7728b 100644
--- a/hw/xfree86/os-support/xf86_OSproc.h
+++ b/hw/xfree86/os-support/xf86_OSproc.h
@@ -208,7 +208,6 @@ extern int xf86ProcessArgument(int, char **, int);
extern void xf86UseMsg(void);
extern PMClose xf86OSPMOpen(void);
-extern _X_DEPRECATED void xf86MakeNewMapping(int, int, unsigned long, unsigned long, pointer);
extern void xf86InitVidMem(void);
#endif /* XF86_OS_PRIVS */
--
1.7.7.3
More information about the xorg-devel
mailing list