X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Ffiles%2Fdrivers%2Fmtd%2Fcybertan_part.c;h=7c6dad854987e363804ebe4222ec9ff57e4e9710;hb=69955cf733736cf1b6916213b9263150963073fb;hp=e03967a98b8f109a3f79a8d71aa5a40d8f819e19;hpb=e5373f2761544b3a0bef395b7239dfb281bc8211;p=librecmc%2Flibrecmc.git diff --git a/target/linux/ar71xx/files/drivers/mtd/cybertan_part.c b/target/linux/ar71xx/files/drivers/mtd/cybertan_part.c index e03967a98b..7c6dad8549 100644 --- a/target/linux/ar71xx/files/drivers/mtd/cybertan_part.c +++ b/target/linux/ar71xx/files/drivers/mtd/cybertan_part.c @@ -123,12 +123,6 @@ static int cybertan_parse_partitions(struct mtd_info *master, goto free_hdr; } - if (strncmp(header->cybertan.magic, "NL16", 4) != 0) { - printk(KERN_NOTICE "%s: no WRT160NL signature found\n", - master->name); - goto free_hdr; - } - theader = &header->trx; if (le32_to_cpu(theader->magic) != TRX_MAGIC) { printk(KERN_NOTICE "%s: no TRX header found\n", master->name);