From fbc8b2d95f5da096ee771a3e2ef6f89306679e89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 9 Dec 2009 10:37:40 -0500 Subject: [PATCH] Be less chatty in drmSetMaster/drmDropMaster --- xf86drm.c | 11 ++--------- 1 file 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)