diff options
author | Adam Jackson <ajax@redhat.com> | 2013-01-18 13:23:17 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2013-01-18 13:23:17 -0500 |
commit | d963d20a7f6368dee4140366f4e65a4ca07dcbc8 (patch) | |
tree | 35f2ff985d7a7c1d0cedbbee5859f0488a062af5 | |
parent | 24a3b87317a893dd8b88f30be97d0a36a93a596c (diff) |
ddc: Fix uncredible fail in calling xf86UnloadSubModule
xf86UnloadSubModule() takes a ModuleDescPtr, though you wouldn't know it
from the prototype; it most certainly does not take a string. Also, ddc
has been a built-in module since RANDR 1.2 or so, so this call would
have been a no-op even if it were correct.
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rwxr-xr-x | src/xgi_driver.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/xgi_driver.c b/src/xgi_driver.c index 0292296..d5da592 100755 --- a/src/xgi_driver.c +++ b/src/xgi_driver.c @@ -1563,7 +1563,6 @@ XGIInternalDDC(ScrnInfoPtr pScrn, int crtno) "CRT%d DDC EDID corrupt\n", crtno + 1); return (NULL); } - xf86UnloadSubModule("ddc"); } else { xf86DrvMsg(pScrn->scrnIndex, X_WARNING, |