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/dvb | |
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/dvb')
-rw-r--r-- | drivers/media/dvb/dvb-core/dvbdev.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/dvb/dvb-core/dvbdev.c b/drivers/media/dvb/dvb-core/dvbdev.c index 8e926d98bd9..40774feb895 100644 --- a/drivers/media/dvb/dvb-core/dvbdev.c +++ b/drivers/media/dvb/dvb-core/dvbdev.c | |||
@@ -248,9 +248,6 @@ void dvb_unregister_device(struct dvb_device *dvbdev) | |||
248 | if (!dvbdev) | 248 | if (!dvbdev) |
249 | return; | 249 | return; |
250 | 250 | ||
251 | devfs_remove("dvb/adapter%d/%s%d", dvbdev->adapter->num, | ||
252 | dnames[dvbdev->type], dvbdev->id); | ||
253 | |||
254 | class_device_destroy(dvb_class, MKDEV(DVB_MAJOR, nums2minor(dvbdev->adapter->num, | 251 | class_device_destroy(dvb_class, MKDEV(DVB_MAJOR, nums2minor(dvbdev->adapter->num, |
255 | dvbdev->type, dvbdev->id))); | 252 | dvbdev->type, dvbdev->id))); |
256 | 253 | ||
@@ -314,8 +311,6 @@ EXPORT_SYMBOL(dvb_register_adapter); | |||
314 | 311 | ||
315 | int dvb_unregister_adapter(struct dvb_adapter *adap) | 312 | int dvb_unregister_adapter(struct dvb_adapter *adap) |
316 | { | 313 | { |
317 | devfs_remove("dvb/adapter%d", adap->num); | ||
318 | |||
319 | if (mutex_lock_interruptible(&dvbdev_register_lock)) | 314 | if (mutex_lock_interruptible(&dvbdev_register_lock)) |
320 | return -ERESTARTSYS; | 315 | return -ERESTARTSYS; |
321 | list_del (&adap->list_head); | 316 | list_del (&adap->list_head); |
@@ -421,7 +416,6 @@ error: | |||
421 | 416 | ||
422 | static void __exit exit_dvbdev(void) | 417 | static void __exit exit_dvbdev(void) |
423 | { | 418 | { |
424 | devfs_remove("dvb"); | ||
425 | class_destroy(dvb_class); | 419 | class_destroy(dvb_class); |
426 | cdev_del(&dvb_device_cdev); | 420 | cdev_del(&dvb_device_cdev); |
427 | unregister_chrdev_region(MKDEV(DVB_MAJOR, 0), MAX_DVB_MINORS); | 421 | unregister_chrdev_region(MKDEV(DVB_MAJOR, 0), MAX_DVB_MINORS); |