Be less chatty in drmSetMaster/drmDropMaster

main
Kristian Høgsberg 2009-12-09 10:37:40 -05:00
parent 59d97e7d68
commit fbc8b2d95f
1 changed files with 2 additions and 9 deletions

View File

@ -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)