mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-27 21:22:26 +00:00
Dead code removal
Remove a whole bunch of code that was never built, be it entire files or just dead ifdefs.
This commit is contained in:
parent
0564b5454a
commit
446fe9eecd
42 changed files with 28 additions and 3201 deletions
|
|
@ -131,31 +131,6 @@ extern RegDataRec miBrokenData;
|
|||
#define REGION_BREAK(_pScreen, _pReg) \
|
||||
miRegionBreak(_pReg)
|
||||
|
||||
#ifdef DONT_INLINE_REGION_OPS
|
||||
|
||||
#define REGION_INIT(_pScreen, _pReg, _rect, _size) \
|
||||
miRegionInit(_pReg, _rect, _size)
|
||||
|
||||
#define REGION_UNINIT(_pScreen, _pReg) \
|
||||
miRegionUninit(_pReg)
|
||||
|
||||
#define REGION_RESET(_pScreen, _pReg, _pBox) \
|
||||
miRegionReset(_pReg, _pBox)
|
||||
|
||||
#define REGION_NOTEMPTY(_pScreen, _pReg) \
|
||||
miRegionNotEmpty(_pReg)
|
||||
|
||||
#define REGION_BROKEN(_pScreen, _pReg) \
|
||||
miRegionBroken(_pReg)
|
||||
|
||||
#define REGION_EMPTY(_pScreen, _pReg) \
|
||||
miRegionEmpty(_pReg)
|
||||
|
||||
#define REGION_EXTENTS(_pScreen, _pReg) \
|
||||
miRegionExtents(_pReg)
|
||||
|
||||
#else /* inline certain simple region ops for performance */
|
||||
|
||||
#define REGION_INIT(_pScreen, _pReg, _rect, _size) \
|
||||
{ \
|
||||
if ((_rect) != NULL) \
|
||||
|
|
@ -216,8 +191,6 @@ extern RegDataRec miBrokenData;
|
|||
(_pReg)->data = &miEmptyData; \
|
||||
}
|
||||
|
||||
#endif /* DONT_INLINE_REGION_OPS */
|
||||
|
||||
#ifndef REGION_NULL
|
||||
#define REGION_NULL(_pScreen, _pReg) \
|
||||
REGION_INIT(_pScreen, _pReg, NullBox, 1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue