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>
This commit is contained in:
		
							parent
							
								
									7961377567
								
							
						
					
					
						commit
						8e3010d7d8
					
				| 
						 | 
					@ -76,18 +76,11 @@ addRootWindowProperties(ScrnInfoPtr pScrn, xf86MonPtr DDC)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    int scrnIndex = pScrn->scrnIndex;
 | 
					    int scrnIndex = pScrn->scrnIndex;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (DDC->ver.version == 1) {
 | 
					 | 
				
			||||||
    if (xf86Initialising)
 | 
					    if (xf86Initialising)
 | 
				
			||||||
        edidMakeAtom(scrnIndex, EDID1_ATOM_NAME, DDC);
 | 
					        edidMakeAtom(scrnIndex, EDID1_ATOM_NAME, DDC);
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
        setRootWindowEDID(pScrn->pScreen, DDC);
 | 
					        setRootWindowEDID(pScrn->pScreen, DDC);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
    else {
 | 
					 | 
				
			||||||
        xf86DrvMsg(scrnIndex, X_PROBED, "unexpected EDID version %d.%d\n",
 | 
					 | 
				
			||||||
                   DDC->ver.version, DDC->ver.revision);
 | 
					 | 
				
			||||||
        return;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
Bool
 | 
					Bool
 | 
				
			||||||
xf86SetDDCproperties(ScrnInfoPtr pScrn, xf86MonPtr DDC)
 | 
					xf86SetDDCproperties(ScrnInfoPtr pScrn, xf86MonPtr DDC)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue