summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-07-19 11:32:10 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-07-19 11:32:10 -0300
commit5aa173a157714fc7e23d574da07936c936a759fb (patch)
treec392ada48fba9eab0a243bf7e291cbc29a5bb942 /linux/drivers/media/dvb
parent626a0f7a4cbba9915b2c31969a14dea5ac111f37 (diff)
downloadmediapointer-dvb-s2-5aa173a157714fc7e23d574da07936c936a759fb.tar.gz
mediapointer-dvb-s2-5aa173a157714fc7e23d574da07936c936a759fb.tar.bz2
[PATCH] devfs: Remove devfs_remove() function from the kernel tree
From: Greg Kroah-Hartman <gregkh@suse.de> Removes the devfs_remove() function and all callers of it. kernel-sync: backport from kernel to v4l/dvb tree Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvbdev.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvbdev.c b/linux/drivers/media/dvb/dvb-core/dvbdev.c
index 64449de27..be889f794 100644
--- a/linux/drivers/media/dvb/dvb-core/dvbdev.c
+++ b/linux/drivers/media/dvb/dvb-core/dvbdev.c
@@ -259,9 +259,6 @@ void dvb_unregister_device(struct dvb_device *dvbdev)
if (!dvbdev)
return;
- devfs_remove("dvb/adapter%d/%s%d", dvbdev->adapter->num,
- dnames[dvbdev->type], dvbdev->id);
-
class_device_destroy(dvb_class, MKDEV(DVB_MAJOR, nums2minor(dvbdev->adapter->num,
dvbdev->type, dvbdev->id)));
@@ -326,8 +323,6 @@ EXPORT_SYMBOL(dvb_register_adapter);
int dvb_unregister_adapter(struct dvb_adapter *adap)
{
- devfs_remove("dvb/adapter%d", adap->num);
-
if (mutex_lock_interruptible(&dvbdev_register_lock))
return -ERESTARTSYS;
list_del (&adap->list_head);
@@ -435,7 +430,6 @@ error:
static void __exit exit_dvbdev(void)
{
- devfs_remove("dvb");
class_destroy(dvb_class);
cdev_del(&dvb_device_cdev);
unregister_chrdev_region(MKDEV(DVB_MAJOR, 0), MAX_DVB_MINORS);