Simplify calling xf86EnableIO() a bit.

This commit is contained in:
Adam Jackson 2008-08-19 15:06:53 -04:00
parent b1f2c7a89a
commit b99fc65b53

View File

@ -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