diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-04-24 04:50:07 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-04-24 04:50:07 +0000 |
commit | bcd527ee71043478d27ec3e5b611c9f34bf4f191 (patch) | |
tree | dfac3d3e3cac55ca7b5fbf9e3089725c491c10af /bsd/drm_ioctl.h | |
parent | 00522cedd6ee3027d2858909d34e862fa21e6e28 (diff) |
Remove a bunch of dead code and fix spelling of a couple of comments.
Diffstat (limited to 'bsd/drm_ioctl.h')
-rw-r--r-- | bsd/drm_ioctl.h | 9 |
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; } |