[PATCH v3 4/9] randr: Cleanup rrSetupPixmapSharing()
Alex Goins
agoins at nvidia.com
Wed Feb 3 04:22:45 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
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 ef9d4cd..72ae505 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