From 17bf2abe309c5e146ae53c25e634089842e847f1 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Tue, 23 Jul 2013 20:57:38 -0700 Subject: xorg driver, include cleanup --- xorg/server/module/rdpRandR.c | 42 ++---------------------------------------- 1 file changed, 2 insertions(+), 40 deletions(-) (limited to 'xorg/server/module/rdpRandR.c') diff --git a/xorg/server/module/rdpRandR.c b/xorg/server/module/rdpRandR.c index fd080184..2255d33a 100644 --- a/xorg/server/module/rdpRandR.c +++ b/xorg/server/module/rdpRandR.c @@ -69,29 +69,8 @@ Bool rdpRRSetConfig(ScreenPtr pScreen, Rotation rotateKind, int rate, RRScreenSizePtr pSize) { - ScrnInfoPtr pScrn; - rdpPtr dev; - rrScrPrivPtr pRRScrPriv; - Bool rv; - LLOGLN(0, ("rdpRRSetConfig:")); - rv = TRUE; - pScrn = xf86Screens[pScreen->myNum]; - dev = XRDPPTR(pScrn); -#if 0 - pRRScrPriv = rrGetScrPriv(pScreen); - if (pRRScrPriv != 0) - { - if (dev->rrSetConfig != 0) - { - LLOGLN(0, ("rdpRRSetConfig: here")); - pRRScrPriv->rrSetConfig = dev->rrSetConfig; - rv = pRRScrPriv->rrSetConfig(pScreen, rotateKind, rate, pSize); - pRRScrPriv->rrSetConfig = rdpRRSetConfig; - } - } -#endif - return rv; + return TRUE; } /******************************************************************************/ @@ -102,32 +81,15 @@ rdpRRGetInfo(ScreenPtr pScreen, Rotation *pRotations) int height; ScrnInfoPtr pScrn; rdpPtr dev; - rrScrPrivPtr pRRScrPriv; - Bool rv; LLOGLN(0, ("rdpRRGetInfo:")); - rv = TRUE; pScrn = xf86Screens[pScreen->myNum]; dev = XRDPPTR(pScrn); -#if 0 - pRRScrPriv = rrGetScrPriv(pScreen); - if (pRRScrPriv != 0) - { - if (dev->rrGetInfo != 0) - { - LLOGLN(0, ("rdpRRGetInfo: here")); - pRRScrPriv->rrGetInfo = dev->rrGetInfo; - rv = pRRScrPriv->rrGetInfo(pScreen, pRotations); - pRRScrPriv->rrGetInfo = rdpRRGetInfo; - } - } -#else *pRotations = RR_Rotate_0; width = dev->width; height = dev->height; rdpRRRegisterSize(pScreen, width, height); -#endif - return rv; + return TRUE; } /******************************************************************************/ -- cgit v1.2.1