]> Pileus Git - ~andy/linux/blobdiff - drivers/mtd/mtdconcat.c
mtd: unify initialization of erase_info->fail_addr
[~andy/linux] / drivers / mtd / mtdconcat.c
index f7a31cc44480c1882c0050961a3dacb721314300..b9000563b9f4311d63ffdfe66ba5166eb158b482 100644 (file)
@@ -426,8 +426,6 @@ static int concat_erase(struct mtd_info *mtd, struct erase_info *instr)
                        return -EINVAL;
        }
 
-       instr->fail_addr = MTD_FAIL_ADDR_UNKNOWN;
-
        /* make a local copy of instr to avoid modifying the caller's struct */
        erase = kmalloc(sizeof (struct erase_info), GFP_KERNEL);