diff options
Diffstat (limited to 'drivers/s390/block/xpram.c')
-rw-r--r-- | drivers/s390/block/xpram.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; |
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); |