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