diff options
Diffstat (limited to 'src/smilynx_crtc.c')
-rw-r--r-- | src/smilynx_crtc.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/smilynx_crtc.c b/src/smilynx_crtc.c index 4dd5719..f56fd2e 100644 --- a/src/smilynx_crtc.c +++ b/src/smilynx_crtc.c @@ -250,7 +250,6 @@ SMILynx_CrtcModeSet_vga(xf86CrtcPtr crtc, if (!vgaHWInit(pScrn, mode)) { LEAVE(); - return; } if ((mode->HDisplay == 640) && SMI_LYNXM_SERIES(pSmi->Chipset)) { @@ -710,7 +709,7 @@ SMILynx_CrtcPreInit(ScrnInfoPtr pScrn) crtc0=xf86CrtcCreate(pScrn,&SMILynx_Crtc0Funcs); if(!crtc0) - RETURN(FALSE); + LEAVE(FALSE); crtc0->driver_private = &SMILynx_Crtc0Priv; }else{ if(pSmi->Dualhead){ @@ -723,7 +722,7 @@ SMILynx_CrtcPreInit(ScrnInfoPtr pScrn) crtc0=xf86CrtcCreate(pScrn,&SMILynx_Crtc0Funcs); if(!crtc0) - RETURN(FALSE); + LEAVE(FALSE); crtc0->driver_private = &SMILynx_Crtc0Priv; /* CRTC1 is CRT */ @@ -735,7 +734,7 @@ SMILynx_CrtcPreInit(ScrnInfoPtr pScrn) crtc1=xf86CrtcCreate(pScrn,&SMILynx_Crtc1Funcs); if(!crtc1) - RETURN(FALSE); + LEAVE(FALSE); crtc1->driver_private = &SMILynx_Crtc1Priv; }else{ @@ -757,11 +756,11 @@ SMILynx_CrtcPreInit(ScrnInfoPtr pScrn) crtc0=xf86CrtcCreate(pScrn,&SMILynx_Crtc0Funcs); if(!crtc0) - RETURN(FALSE); + LEAVE(FALSE); crtc0->driver_private = &SMILynx_Crtc0Priv; } } - RETURN(TRUE); + LEAVE(TRUE); } |