summaryrefslogtreecommitdiff
path: root/bsd/drm_ioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsd/drm_ioctl.h')
-rw-r--r--bsd/drm_ioctl.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/bsd/drm_ioctl.h b/bsd/drm_ioctl.h
index 270b2bb5..bf0083d9 100644
--- a/bsd/drm_ioctl.h
+++ b/bsd/drm_ioctl.h
@@ -121,15 +121,6 @@ int DRM(setunique)( DRM_IOCTL_ARGS )
dev->unique[dev->unique_len] = '\0';
- dev->devname = DRM(alloc)(strlen(dev->name) + strlen(dev->unique) + 2,
- DRM_MEM_DRIVER);
- if(!dev->devname) {
- DRM(free)(dev->devname, sizeof(*dev->devname), DRM_MEM_DRIVER);
- return DRM_ERR(ENOMEM);
- }
- sprintf(dev->devname, "%s@%s", dev->name, dev->unique);
-
-
return 0;
}