diff options
author | Doug Chapman <doug.chapman@hp.com> | 2008-03-06 14:31:06 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-03-06 14:31:06 -0500 |
commit | 5b7875d0cbfbdbcd1515c4e942d30de298b49dff (patch) | |
tree | 2d1a406cf5d7ebc1a2f8df34029d68a5f860eb72 /src/radeon_driver.c | |
parent | 651fe23f4c650ed91843dec48db24e18e8b91219 (diff) |
Bug #14826: Fix a bogus check around xf86SetOperatingState.
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r-- | src/radeon_driver.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; |