aboutsummaryrefslogtreecommitdiffstats
path: root/fs/partitions
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-06-21 00:15:16 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-26 15:25:07 -0400
commit8ab5e4c15b53e147c08031a959d9f776823dbe73 (patch)
treeb851d4c1fdbd396379279e4475f7f778a667a208 /fs/partitions
parent7c69ef79741910883d5543caafa06aca3ebadbd1 (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 'fs/partitions')
-rw-r--r--fs/partitions/check.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/partitions/check.c b/fs/partitions/check.c
index d7a5078b3d75..202f50acea88 100644
--- a/fs/partitions/check.c
+++ b/fs/partitions/check.c
@@ -320,7 +320,6 @@ void delete_partition(struct gendisk *disk, int part)
320 p->nr_sects = 0; 320 p->nr_sects = 0;
321 p->ios[0] = p->ios[1] = 0; 321 p->ios[0] = p->ios[1] = 0;
322 p->sectors[0] = p->sectors[1] = 0; 322 p->sectors[0] = p->sectors[1] = 0;
323 devfs_remove("%s/part%d", disk->devfs_name, part);
324 sysfs_remove_link(&p->kobj, "subsystem"); 323 sysfs_remove_link(&p->kobj, "subsystem");
325 if (p->holder_dir) 324 if (p->holder_dir)
326 kobject_unregister(p->holder_dir); 325 kobject_unregister(p->holder_dir);