From 5b7875d0cbfbdbcd1515c4e942d30de298b49dff Mon Sep 17 00:00:00 2001 From: Doug Chapman Date: Thu, 6 Mar 2008 14:31:06 -0500 Subject: Bug #14826: Fix a bogus check around xf86SetOperatingState. --- src/radeon_driver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 7b9c242a..b0daa7ce 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -2639,8 +2639,7 @@ Bool RADEONPreInit(ScrnInfoPtr pScrn, int flags) if (xf86RegisterResources(info->pEnt->index, 0, ResExclusive)) goto fail; - if (xf86SetOperatingState(resVga, info->pEnt->index, ResUnusedOpr)) - goto fail; + xf86SetOperatingState(resVga, info->pEnt->index, ResUnusedOpr); pScrn->racMemFlags = RAC_FB | RAC_COLORMAP | RAC_VIEWPORT | RAC_CURSOR; pScrn->monitor = pScrn->confScreen->monitor; -- cgit v1.2.3