Simplify calling xf86EnableIO() a bit.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user