OSDN Git Service

Silence runtime complaints on platform devices
authorEric Anholt <eric@anholt.net>
Fri, 21 Oct 2016 17:09:47 +0000 (10:09 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 21 Oct 2016 19:50:56 +0000 (12:50 -0700)
glxgears was spamming this 12 times at startup because of Mesa's
probing of the DRM device code, which doesn't support platform
devices.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
xf86drm.c

index 9b52889..52add5e 100644 (file)
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -3149,7 +3149,6 @@ int drmGetDevice(int fd, drmDevicePtr *device)
 
             break;
         default:
-            fprintf(stderr, "The subsystem type is not supported yet\n");
             continue;
         }
 
@@ -3259,7 +3258,6 @@ int drmGetDevices(drmDevicePtr devices[], int max_devices)
 
             break;
         default:
-            fprintf(stderr, "The subsystem type is not supported yet\n");
             continue;
         }