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:
parent
43f2393746
commit
0e70b333d4
|
@ -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
|
void
|
||||||
xf86InitVidMem(void)
|
xf86InitVidMem(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -215,8 +215,6 @@ extern _X_EXPORT int xf86ProcessArgument(int, char **, int);
|
||||||
extern _X_EXPORT void xf86UseMsg(void);
|
extern _X_EXPORT void xf86UseMsg(void);
|
||||||
extern _X_EXPORT PMClose xf86OSPMOpen(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);
|
extern _X_EXPORT void xf86InitVidMem(void);
|
||||||
|
|
||||||
#endif /* XF86_OS_PRIVS */
|
#endif /* XF86_OS_PRIVS */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user