summaryrefslogtreecommitdiff
path: root/xf86drm.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2016-10-21 10:09:47 -0700
committerEric Anholt <eric@anholt.net>2016-10-21 12:50:56 -0700
commit2d8c01f256011c013edf3a76672d6ce9e2b05d8f (patch)
treeaa1d9189cf9d51380d440bfd3a8212eebc7dbed4 /xf86drm.c
parent677cd97dc4a930af508388713f5016baf664ed18 (diff)
downloadlibdrm-2d8c01f256011c013edf3a76672d6ce9e2b05d8f.tar.gz
libdrm-2d8c01f256011c013edf3a76672d6ce9e2b05d8f.tar.bz2
libdrm-2d8c01f256011c013edf3a76672d6ce9e2b05d8f.zip
Silence runtime complaints on platform devices
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>
Diffstat (limited to 'xf86drm.c')
-rw-r--r--xf86drm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xf86drm.c b/xf86drm.c
index 9b52889e..52add5e4 100644
--- 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;
}