XFree86: os-support: Remove unused xf86MakeNewMapping

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@fooishbar.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Daniel Stone 2012-07-10 02:03:37 +01:00 committed by Keith Packard
parent 43f2393746
commit 0e70b333d4
2 changed files with 0 additions and 15 deletions

View File

@ -156,19 +156,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)
{

View File

@ -215,8 +215,6 @@ extern _X_EXPORT int xf86ProcessArgument(int, char **, int);
extern _X_EXPORT void xf86UseMsg(void);
extern _X_EXPORT PMClose xf86OSPMOpen(void);
extern _X_EXPORT _X_DEPRECATED void xf86MakeNewMapping(int, int, unsigned long,
unsigned long, pointer);
extern _X_EXPORT void xf86InitVidMem(void);
#endif /* XF86_OS_PRIVS */