aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/block
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 /drivers/s390/block
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 'drivers/s390/block')
-rw-r--r--drivers/s390/block/dasd.c1
-rw-r--r--drivers/s390/block/xpram.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/s390/block/dasd.c b/drivers/s390/block/dasd.c
index 09bf44fdb1d1..8b67ce006521 100644
--- a/drivers/s390/block/dasd.c
+++ b/drivers/s390/block/dasd.c
@@ -1834,7 +1834,6 @@ dasd_exit(void)
1834 } 1834 }
1835 dasd_gendisk_exit(); 1835 dasd_gendisk_exit();
1836 dasd_devmap_exit(); 1836 dasd_devmap_exit();
1837 devfs_remove("dasd");
1838 if (dasd_debug_area != NULL) { 1837 if (dasd_debug_area != NULL) {
1839 debug_unregister(dasd_debug_area); 1838 debug_unregister(dasd_debug_area);
1840 dasd_debug_area = NULL; 1839 dasd_debug_area = NULL;
diff --git a/drivers/s390/block/xpram.c b/drivers/s390/block/xpram.c
index 36bc01f83a51..15aad01bba07 100644
--- a/drivers/s390/block/xpram.c
+++ b/drivers/s390/block/xpram.c
@@ -474,7 +474,6 @@ static int __init xpram_setup_blkdev(void)
474 474
475 return 0; 475 return 0;
476out_unreg: 476out_unreg:
477 devfs_remove("slram");
478 unregister_blkdev(XPRAM_MAJOR, XPRAM_NAME); 477 unregister_blkdev(XPRAM_MAJOR, XPRAM_NAME);
479out: 478out:
480 while (i--) 479 while (i--)
@@ -493,7 +492,6 @@ static void __exit xpram_exit(void)
493 put_disk(xpram_disks[i]); 492 put_disk(xpram_disks[i]);
494 } 493 }
495 unregister_blkdev(XPRAM_MAJOR, XPRAM_NAME); 494 unregister_blkdev(XPRAM_MAJOR, XPRAM_NAME);
496 devfs_remove("slram");
497 blk_cleanup_queue(xpram_queue); 495 blk_cleanup_queue(xpram_queue);
498 sysdev_unregister(&xpram_sys_device); 496 sysdev_unregister(&xpram_sys_device);
499 sysdev_class_unregister(&xpram_sysclass); 497 sysdev_class_unregister(&xpram_sysclass);