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 */
|
/* Enable full I/O access */
|
||||||
if (xorgHWAccess) {
|
if (xorgHWAccess)
|
||||||
if(!xf86EnableIO())
|
xorgHWAccess = xf86EnableIO();
|
||||||
/* oops, we have failed */
|
|
||||||
xorgHWAccess = FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Locate bus slot that had register IO enabled at server startup
|
* Locate bus slot that had register IO enabled at server startup
|
||||||
|
|
Loading…
Reference in New Issue