diff options
Diffstat (limited to 'drivers/mtd/mtdpart.c')
-rw-r--r-- | drivers/mtd/mtdpart.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c index edb90b58a9b1..9a06dc93ee0d 100644 --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c | |||
@@ -564,10 +564,8 @@ int parse_mtd_partitions(struct mtd_info *master, const char **types, | |||
564 | 564 | ||
565 | for ( ; ret <= 0 && *types; types++) { | 565 | for ( ; ret <= 0 && *types; types++) { |
566 | parser = get_partition_parser(*types); | 566 | parser = get_partition_parser(*types); |
567 | #ifdef CONFIG_KMOD | ||
568 | if (!parser && !request_module("%s", *types)) | 567 | if (!parser && !request_module("%s", *types)) |
569 | parser = get_partition_parser(*types); | 568 | parser = get_partition_parser(*types); |
570 | #endif | ||
571 | if (!parser) { | 569 | if (!parser) { |
572 | printk(KERN_NOTICE "%s partition parsing not available\n", | 570 | printk(KERN_NOTICE "%s partition parsing not available\n", |
573 | *types); | 571 | *types); |