Be less chatty in drmSetMaster/drmDropMaster
parent
59d97e7d68
commit
fbc8b2d95f
11
xf86drm.c
11
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)
|
||||
|
|
Loading…
Reference in New Issue