[PATCH v2 4/8] randr: Cleanup rrSetupPixmapSharing()

Alex Goins agoins at nvidia.com
Tue Jan 5 13:56:02 PST 2016


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

We don't need rrScrPriv, so remove it.

v1: Initial commit
v2: 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 32a17e8..a4bc65d 100644
--- a/randr/rrcrtc.c
+++ b/randr/rrcrtc.c
@@ -468,8 +468,6 @@ rrSetupPixmapSharing(RRCrtcPtr crtc, int width, int height,
     ScreenPtr master = crtc->pScreen->current_master;
     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