From b99fc65b53769400821a2bd8f691ece35a5b8847 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 19 Aug 2008 15:06:53 -0400 Subject: [PATCH] Simplify calling xf86EnableIO() a bit. --- hw/xfree86/common/xf86Init.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c index 9a9ec3403..cb7b89837 100644 --- a/hw/xfree86/common/xf86Init.c +++ b/hw/xfree86/common/xf86Init.c @@ -730,11 +730,8 @@ InitOutput(ScreenInfo *pScreenInfo, int argc, char **argv) } /* Enable full I/O access */ - if (xorgHWAccess) { - if(!xf86EnableIO()) - /* oops, we have failed */ - xorgHWAccess = FALSE; - } + if (xorgHWAccess) + xorgHWAccess = xf86EnableIO(); /* * Locate bus slot that had register IO enabled at server startup