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/s390/block | |
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/s390/block')
-rw-r--r-- | drivers/s390/block/dasd.c | 1 | ||||
-rw-r--r-- | drivers/s390/block/xpram.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/s390/block/dasd.c b/drivers/s390/block/dasd.c index 09bf44fdb1d..8b67ce00652 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 36bc01f83a5..15aad01bba0 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; |
476 | out_unreg: | 476 | out_unreg: |
477 | devfs_remove("slram"); | ||
478 | unregister_blkdev(XPRAM_MAJOR, XPRAM_NAME); | 477 | unregister_blkdev(XPRAM_MAJOR, XPRAM_NAME); |
479 | out: | 478 | out: |
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); |