aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/videodev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/videodev.c')
-rw-r--r--drivers/media/video/videodev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c
index cc67ee952838..3178353787da 100644
--- a/drivers/media/video/videodev.c
+++ b/drivers/media/video/videodev.c
@@ -1601,7 +1601,6 @@ void video_unregister_device(struct video_device *vfd)
1601 if(video_device[vfd->minor]!=vfd) 1601 if(video_device[vfd->minor]!=vfd)
1602 panic("videodev: bad unregister"); 1602 panic("videodev: bad unregister");
1603 1603
1604 devfs_remove(vfd->devfs_name);
1605 video_device[vfd->minor]=NULL; 1604 video_device[vfd->minor]=NULL;
1606 class_device_unregister(&vfd->class_dev); 1605 class_device_unregister(&vfd->class_dev);
1607 mutex_unlock(&videodev_lock); 1606 mutex_unlock(&videodev_lock);