summaryrefslogtreecommitdiff
path: root/dix/pixmap.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-03-06 17:19:11 -0500
committerEamon Walsh <ewalsh@moss-uranus.epoch.ncsc.mil>2007-03-06 17:19:11 -0500
commit81526232bc0119d2ec7b8590be4f78cf066ae359 (patch)
tree0ce543fc72cd79a6c910b6a47c67ac61adf78c68 /dix/pixmap.c
parenta7cd53deb99957dec27a55ffd75e548b322ae0ce (diff)
remove PIXPRIV check as this flag is always set.
Diffstat (limited to 'dix/pixmap.c')
-rw-r--r--dix/pixmap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/dix/pixmap.c b/dix/pixmap.c
index a5b7b064d..c280a3b94 100644
--- a/dix/pixmap.c
+++ b/dix/pixmap.c
@@ -109,7 +109,6 @@ _X_EXPORT PixmapPtr
AllocatePixmap(ScreenPtr pScreen, int pixDataSize)
{
PixmapPtr pPixmap;
-#ifdef PIXPRIV
char *ptr;
DevUnion *ppriv;
unsigned *sizes;
@@ -136,9 +135,6 @@ AllocatePixmap(ScreenPtr pScreen, int pixDataSize)
else
ppriv->ptr = (pointer)NULL;
}
-#else
- pPixmap = (PixmapPtr)xalloc(sizeof(PixmapRec) + pixDataSize);
-#endif
#ifdef _XSERVER64
if (pPixmap) {