[PATCH v4 05/13] randr: Cleanup rrSetupPixmapSharing()

Alex Goins agoins at nvidia.com
Fri Mar 4 02:47:50 UTC 2016


protopix is completely redundant with mscreenpix. Get rid of it.

We don't need rrScrPriv, so remove it.

v1: Initial commit
v2: Unchanged
v3: Unchanged
v4: Unchanged

Signed-off-by: Alex Goins <agoins at nvidia.com>
---
 randr/rrcrtc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c
index bc5192c..c760794 100644
--- a/randr/rrcrtc.c
+++ b/randr/rrcrtc.c
@@ -504,8 +504,6 @@ rrSetupPixmapSharing(RRCrtcPtr crtc, int width, int height,
 
     int depth;
     PixmapPtr mscreenpix;
-    PixmapPtr protopix = master->GetScreenPixmap(master);
-    rrScrPriv(crtc->pScreen);
     PixmapPtr spix_front;
 
     /* create a pixmap on the master screen,
-- 
1.9.1



More information about the xorg-devel mailing list