summaryrefslogtreecommitdiff
path: root/bsd/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/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/drmP.h')
-rw-r--r--bsd/drmP.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/bsd/drmP.h b/bsd/drmP.h
index 1dae1201..236dab6d 100644
--- a/bsd/drmP.h
+++ b/bsd/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 */