From 9b2b2337b3caa006fa95eecb966b8a68eed83b90 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 24 Apr 2003 00:46:03 +0000 Subject: Move one definition to drm_drv.h and remove the rest of drm_init.h which was all unused. --- bsd-core/drm_fops.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'bsd-core/drm_fops.c') diff --git a/bsd-core/drm_fops.c b/bsd-core/drm_fops.c index b0c18fa3..1dcc55e0 100644 --- a/bsd-core/drm_fops.c +++ b/bsd-core/drm_fops.c @@ -62,8 +62,6 @@ int DRM(open_helper)(dev_t kdev, int flags, int fmt, DRM_STRUCTPROC *p, if (flags & O_EXCL) return EBUSY; /* No exclusive opens */ dev->flags = flags; - if (!DRM(cpu_valid)()) - return DRM_ERR(EINVAL); DRM_DEBUG("pid = %d, minor = %d\n", DRM_CURRENTPID, m); -- cgit v1.2.3