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)