drm: rip out dev->ioctl_count tracking
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Dec 2013 10:35:08 +0000 (11:35 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 18 Dec 2013 01:41:55 +0000 (11:41 +1000)
commit43d1337cbe087ed24ffceadfd5ac311b6a0e4bfa
treebc6daab9923b7b1f174d2ac80eaa70067537d1be
parentb8673b648ad5443e00fa07a4104d0d64855d2ca0
drm: rip out dev->ioctl_count tracking

Now dev->ioctl_count tries to prevent the device from disappearing if
it's still in use. And if we'd actually need this code it would be
hopelessly racy and broken.

But luckily the vfs already takes care of this. So we can just rip it
out.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_drv.c
drivers/gpu/drm/drm_fops.c
include/drm/drmP.h