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:
parent
680b4ab43f
commit
2d63748667
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue