mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
Remove some more unused functions
This commit is contained in:
parent
24259ec2d0
commit
8618425250
1 changed files with 0 additions and 19 deletions
|
|
@ -458,25 +458,6 @@ int drmSetBusid(int fd, const char *busid)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int drmGetMagic(int fd, drmMagicPtr magic)
|
||||
{
|
||||
drm_auth_t auth;
|
||||
|
||||
*magic = 0;
|
||||
if (ioctl(fd, DRM_IOCTL_GET_MAGIC, &auth)) return -errno;
|
||||
*magic = auth.magic;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int drmAuthMagic(int fd, drmMagic magic)
|
||||
{
|
||||
drm_auth_t auth;
|
||||
|
||||
auth.magic = magic;
|
||||
if (ioctl(fd, DRM_IOCTL_AUTH_MAGIC, &auth)) return -errno;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int drmAddMap(int fd,
|
||||
drmHandle offset,
|
||||
drmSize size,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue