diff options
author | Adam Jackson <ajax@redhat.com> | 2016-01-06 08:54:47 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-04-18 11:23:10 -0400 |
commit | 8e3010d7d8e8c49c8859b576de1808ae7b2859be (patch) | |
tree | 6bcc46f7a5d876ffdb1b426d5aaf0b5b6ae3b923 | |
parent | 7961377567f15dfad9d96c5c0a0992b38013d973 (diff) |
xfree86: Remove a never-hit diagnostic message
Practically speaking, the EDID major version is never not 1.
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r-- | hw/xfree86/ddc/ddcProperty.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/hw/xfree86/ddc/ddcProperty.c b/hw/xfree86/ddc/ddcProperty.c index e1b37db03..53446b8d6 100644 --- a/hw/xfree86/ddc/ddcProperty.c +++ b/hw/xfree86/ddc/ddcProperty.c @@ -76,17 +76,10 @@ addRootWindowProperties(ScrnInfoPtr pScrn, xf86MonPtr DDC) { int scrnIndex = pScrn->scrnIndex; - if (DDC->ver.version == 1) { - if (xf86Initialising) - edidMakeAtom(scrnIndex, EDID1_ATOM_NAME, DDC); - else - setRootWindowEDID(pScrn->pScreen, DDC); - } - else { - xf86DrvMsg(scrnIndex, X_PROBED, "unexpected EDID version %d.%d\n", - DDC->ver.version, DDC->ver.revision); - return; - } + if (xf86Initialising) + edidMakeAtom(scrnIndex, EDID1_ATOM_NAME, DDC); + else + setRootWindowEDID(pScrn->pScreen, DDC); } Bool |