summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_drv.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-11 11:35:09 +0100
committerDave Airlie <airlied@redhat.com>2013-12-18 11:42:13 +1000
commit5952fba501b928f214f64a7a9c461ae2cd5c3f45 (patch)
treed558d934a882505603bb266211fd798c9961ba0b /drivers/gpu/drm/drm_drv.c
parent43d1337cbe087ed24ffceadfd5ac311b6a0e4bfa (diff)
downloadtalos-obmc-linux-5952fba501b928f214f64a7a9c461ae2cd5c3f45.tar.gz
talos-obmc-linux-5952fba501b928f214f64a7a9c461ae2cd5c3f45.zip
drm: Kill file_priv->ioctl_count tracking
It's racy, and it's only used in debugfs. There are simpler ways to know whether something is going on (like looking at dmesg with full debugging enabled). And they're all much more useful. So let's just rip this out. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_drv.c')
-rw-r--r--drivers/gpu/drm/drm_drv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c
index 9fd4dd476d33..345be03c23db 100644
--- a/drivers/gpu/drm/drm_drv.c
+++ b/drivers/gpu/drm/drm_drv.c
@@ -315,8 +315,6 @@ long drm_ioctl(struct file *filp,
if (drm_device_is_unplugged(dev))
return -ENODEV;
- ++file_priv->ioctl_count;
-
if ((nr >= DRM_CORE_IOCTL_COUNT) &&
((nr < DRM_COMMAND_BASE) || (nr >= DRM_COMMAND_END)))
goto err_i1;
OpenPOWER on IntegriCloud