diff options
Diffstat (limited to 'fs/jffs2/fs.c')
-rw-r--r-- | fs/jffs2/fs.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/jffs2/fs.c b/fs/jffs2/fs.c index a0f84673ce54..79f70251a4eb 100644 --- a/fs/jffs2/fs.c +++ b/fs/jffs2/fs.c | |||
@@ -664,13 +664,6 @@ static int jffs2_flash_setup(struct jffs2_sb_info *c) { | |||
664 | return ret; | 664 | return ret; |
665 | } | 665 | } |
666 | 666 | ||
667 | /* add setups for other bizarre flashes here... */ | ||
668 | if (jffs2_nor_ecc(c)) { | ||
669 | ret = jffs2_nor_ecc_flash_setup(c); | ||
670 | if (ret) | ||
671 | return ret; | ||
672 | } | ||
673 | |||
674 | /* and Dataflash */ | 667 | /* and Dataflash */ |
675 | if (jffs2_dataflash(c)) { | 668 | if (jffs2_dataflash(c)) { |
676 | ret = jffs2_dataflash_setup(c); | 669 | ret = jffs2_dataflash_setup(c); |
@@ -694,11 +687,6 @@ void jffs2_flash_cleanup(struct jffs2_sb_info *c) { | |||
694 | jffs2_nand_flash_cleanup(c); | 687 | jffs2_nand_flash_cleanup(c); |
695 | } | 688 | } |
696 | 689 | ||
697 | /* add cleanups for other bizarre flashes here... */ | ||
698 | if (jffs2_nor_ecc(c)) { | ||
699 | jffs2_nor_ecc_flash_cleanup(c); | ||
700 | } | ||
701 | |||
702 | /* and DataFlash */ | 690 | /* and DataFlash */ |
703 | if (jffs2_dataflash(c)) { | 691 | if (jffs2_dataflash(c)) { |
704 | jffs2_dataflash_cleanup(c); | 692 | jffs2_dataflash_cleanup(c); |