summaryrefslogtreecommitdiff
path: root/hw/xnest
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2010-05-23 17:15:43 -0700
committerJamey Sharp <jamey@minilop.net>2010-09-13 15:55:17 -0700
commitbbbf795e6b1ac048ea17164ba1089055cfe4306d (patch)
tree3d3901ca3d0ab52fe5d58e030d3c82624bb378fc /hw/xnest
parent3288232f3d2a0239944bd856101c2d16c713ef40 (diff)
Delete redundant GC initializations.
When a GC is allocated, it is zeroed, including all storage requested with dixRegisterPrivateKey. So CreateGC hooks don't need to initialize anything to zero. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Diffstat (limited to 'hw/xnest')
-rw-r--r--hw/xnest/GC.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/xnest/GC.c b/hw/xnest/GC.c
index 407cc77f3..7968b4f6f 100644
--- a/hw/xnest/GC.c
+++ b/hw/xnest/GC.c
@@ -73,9 +73,6 @@ static GCOps xnestOps = {
Bool
xnestCreateGC(GCPtr pGC)
{
- pGC->clientClipType = CT_NONE;
- pGC->clientClip = NULL;
-
pGC->funcs = &xnestFuncs;
pGC->ops = &xnestOps;