diff options
author | Dave Airlie <airlied@redhat.com> | 2011-03-29 14:27:41 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-04-01 10:28:06 +1000 |
commit | be9cfb249da18d134c1d65bbb75161aff65f2942 (patch) | |
tree | 6dbbadeaeed6ce53a5308c0da8b6353940face20 /fb/fbscreen.c | |
parent | e0a2ad51dfb7373aa602335490d9666d6101b5ea (diff) |
fb: drop defines that aren't used/necessary anymore.
This was generated by:
cd fb
coan source --replace -DFB_SCREEN_PRIVATE -DFB_24BIT -DFB_24_32BIT -DFB_SCREEN_PRIVATE -UFBNOPIXADDR -UFBNO24BIT -UFBNO24_32 *.[ch]
A follow up patch readds the FB_24_32BIT define for Intel UXA.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'fb/fbscreen.c')
-rw-r--r-- | fb/fbscreen.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fb/fbscreen.c b/fb/fbscreen.c index 2502efeff..fa518f64a 100644 --- a/fb/fbscreen.c +++ b/fb/fbscreen.c @@ -185,7 +185,6 @@ fbFinishScreenInit(ScreenPtr pScreen, * pixels. If you want real 24bit images, include a 24bpp * format in the pixmap formats */ -#ifdef FB_24_32BIT if (bpp == 24) { int f; @@ -205,8 +204,6 @@ fbFinishScreenInit(ScreenPtr pScreen, } } } -#endif -#ifdef FB_SCREEN_PRIVATE if (imagebpp == 32) { fbGetScreenPrivate(pScreen)->win32bpp = bpp; @@ -221,7 +218,6 @@ fbFinishScreenInit(ScreenPtr pScreen, fbGetScreenPrivate(pScreen)->setupWrap = setupWrap; fbGetScreenPrivate(pScreen)->finishWrap = finishWrap; #endif -#endif rootdepth = 0; if (!fbInitVisuals (&visuals, &depths, &nvisuals, &ndepths, &rootdepth, &defaultVisual,((unsigned long)1<<(imagebpp-1)), 8)) @@ -236,13 +232,11 @@ fbFinishScreenInit(ScreenPtr pScreen, return FALSE; /* overwrite miCloseScreen with our own */ pScreen->CloseScreen = fbCloseScreen; -#ifdef FB_24_32BIT if (bpp == 24 && imagebpp == 32) { pScreen->ModifyPixmapHeader = fb24_32ModifyPixmapHeader; pScreen->CreateScreenResources = fb24_32CreateScreenResources; } -#endif return TRUE; } |