diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-04-24 00:46:03 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-04-24 00:46:03 +0000 |
commit | 9b2b2337b3caa006fa95eecb966b8a68eed83b90 (patch) | |
tree | e16163e13ad2cec66b387b9d27803d98a48d055d /bsd/drm_fops.h | |
parent | e21473c88853bb6f539ecca1c76e692d748bb722 (diff) |
Move one definition to drm_drv.h and remove the rest of drm_init.h which
was all unused.
Diffstat (limited to 'bsd/drm_fops.h')
-rw-r--r-- | bsd/drm_fops.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bsd/drm_fops.h b/bsd/drm_fops.h index b0c18fa3..1dcc55e0 100644 --- a/bsd/drm_fops.h +++ b/bsd/drm_fops.h @@ -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); |