mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
Simplify depth 30 "kernel too old" error message
We know it's depth 30, no need to have xf86DrvMsg fill it in. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Michel Dänzer
parent
680b4ab43f
commit
2d63748667
@@ -1778,8 +1778,7 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags)
|
||||
/* Depth 30 only supported since Linux 3.16 / kms driver minor version 39 */
|
||||
if (pScrn->depth == 30 && info->dri2.pKernelDRMVersion->version_minor < 39) {
|
||||
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
|
||||
"Given depth (%d) is not supported. Kernel too old. Needs Linux 3.16+\n",
|
||||
pScrn->depth);
|
||||
"Depth 30 is not supported. Kernel too old. Needs Linux 3.16+\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user