summaryrefslogtreecommitdiff
path: root/xf86drm.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2009-12-09 10:37:40 -0500
committerKristian Høgsberg <krh@bitplanet.net>2009-12-15 08:44:40 -0500
commitfbc8b2d95f5da096ee771a3e2ef6f89306679e89 (patch)
treeeaa9b45bf4adb109e0c8292d84957eaa2799e54a /xf86drm.c
parent59d97e7d6807d9cd076d4e8374aca1d9e8027a6b (diff)
downloadlibdrm-fbc8b2d95f5da096ee771a3e2ef6f89306679e89.tar.gz
libdrm-fbc8b2d95f5da096ee771a3e2ef6f89306679e89.tar.bz2
libdrm-fbc8b2d95f5da096ee771a3e2ef6f89306679e89.zip
Be less chatty in drmSetMaster/drmDropMaster
Diffstat (limited to 'xf86drm.c')
-rw-r--r--xf86drm.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/xf86drm.c b/xf86drm.c
index 06d645dd..220aaa16 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -2492,19 +2492,12 @@ void drmCloseOnce(int fd)
int drmSetMaster(int fd)
{
- int ret;
-
- fprintf(stderr,"Setting master \n");
- ret = ioctl(fd, DRM_IOCTL_SET_MASTER, 0);
- return ret;
+ return ioctl(fd, DRM_IOCTL_SET_MASTER, 0);
}
int drmDropMaster(int fd)
{
- int ret;
- fprintf(stderr,"Dropping master \n");
- ret = ioctl(fd, DRM_IOCTL_DROP_MASTER, 0);
- return ret;
+ return ioctl(fd, DRM_IOCTL_DROP_MASTER, 0);
}
char *drmGetDeviceNameFromFd(int fd)