From af3bfdef26b2d02ea4877e3d57601e57ffa4e95a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 24 Apr 2003 05:14:05 +0000 Subject: 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. --- bsd/drmP.h | 1 - 1 file changed, 1 deletion(-) (limited to 'bsd/drmP.h') 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 */ -- cgit v1.2.3