diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2009-12-09 10:37:40 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2009-12-15 08:44:40 -0500 |
commit | fbc8b2d95f5da096ee771a3e2ef6f89306679e89 (patch) | |
tree | eaa9b45bf4adb109e0c8292d84957eaa2799e54a /xf86drm.c | |
parent | 59d97e7d6807d9cd076d4e8374aca1d9e8027a6b (diff) | |
download | libdrm-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.c | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -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) |