[PATCH] fb: Delete unused oneRect private field.

Jamey Sharp jamey at minilop.net
Sat Jun 12 08:53:03 PDT 2010


Signed-off-by: Jamey Sharp <jamey at minilop.net>
---
 fb/fb.h   |    1 -
 fb/fbgc.c |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/fb/fb.h b/fb/fb.h
index a06f98b..c290ebf 100644
--- a/fb/fb.h
+++ b/fb/fb.h
@@ -666,7 +666,6 @@ typedef struct {
     FbBits		bgand, bgxor;	/* for stipples */
     FbBits		fg, bg, pm;	/* expanded and filled */
     unsigned int	dashLength;	/* total of all dash elements */
-    unsigned char    	oneRect;	/* clip list is single rectangle */
     unsigned char    	evenStipple;	/* stipple is even */
     unsigned char    	bpp;		/* current drawable bpp */
 } FbGCPrivRec, *FbGCPrivPtr;
diff --git a/fb/fbgc.c b/fb/fbgc.c
index 3b1dcf3..45e981b 100644
--- a/fb/fbgc.c
+++ b/fb/fbgc.c
@@ -210,7 +210,6 @@ fbValidateGC(GCPtr pGC, unsigned long changes, DrawablePtr pDrawable)
 	)
     {
 	miComputeCompositeClip (pGC, pDrawable);
-	pPriv->oneRect = RegionNumRects(fbGetCompositeClip(pGC)) == 1;
     }
     
 #ifdef FB_24_32BIT    
-- 
1.7.0



More information about the xorg-devel mailing list