diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-21 00:15:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-26 15:25:07 -0400 |
commit | 8ab5e4c15b53e147c08031a959d9f776823dbe73 (patch) | |
tree | b851d4c1fdbd396379279e4475f7f778a667a208 /drivers/media/video/videodev.c | |
parent | 7c69ef79741910883d5543caafa06aca3ebadbd1 (diff) |
[PATCH] devfs: Remove devfs_remove() function from the kernel tree
Removes the devfs_remove() function and all callers of it.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/media/video/videodev.c')
-rw-r--r-- | drivers/media/video/videodev.c | 1 |
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); |