From bcd527ee71043478d27ec3e5b611c9f34bf4f191 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 24 Apr 2003 04:50:07 +0000 Subject: Remove a bunch of dead code and fix spelling of a couple of comments. --- bsd/drm_ioctl.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'bsd/drm_ioctl.h') 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; } -- cgit v1.2.3