summaryrefslogtreecommitdiff
path: root/bsd-core/drmP.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-04-24 05:14:05 +0000
committerEric Anholt <anholt@freebsd.org>2003-04-24 05:14:05 +0000
commitaf3bfdef26b2d02ea4877e3d57601e57ffa4e95a (patch)
tree63012be0858d0aa0af1c45cc21f4a278f9a1113f /bsd-core/drmP.h
parentbcd527ee71043478d27ec3e5b611c9f34bf4f191 (diff)
Remove the ioctl_count variable from the device. A reference is held to the
fp throughout the ioctl syscall, so the device can't be closed out from under us.
Diffstat (limited to 'bsd-core/drmP.h')
-rw-r--r--bsd-core/drmP.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/bsd-core/drmP.h b/bsd-core/drmP.h
index 1dae1201..236dab6d 100644
--- a/bsd-core/drmP.h
+++ b/bsd-core/drmP.h
@@ -352,7 +352,6 @@ struct drm_device {
struct lock dev_lock; /* For others */
/* Usage Counters */
int open_count; /* Outstanding files open */
- atomic_t ioctl_count; /* Outstanding IOCTLs pending */
int buf_use; /* Buffers in use -- cannot alloc */
atomic_t buf_alloc; /* Buffer allocation in progress */