mtd: brcmnand: drop unnecessary initialization
authorBrian Norris <computersforpeace@gmail.com>
Thu, 28 May 2015 22:07:45 +0000 (15:07 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 17 Jun 2015 01:50:51 +0000 (18:50 -0700)
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/brcmnand/brcmnand.c

index a48ad49..fddb795 100644 (file)
@@ -1887,7 +1887,7 @@ static int brcmnand_init_cs(struct brcmnand_host *host)
        struct platform_device *pdev = host->pdev;
        struct mtd_info *mtd;
        struct nand_chip *chip;
-       int ret = 0;
+       int ret;
        struct mtd_part_parser_data ppdata = { .of_node = dn };
 
        ret = of_property_read_u32(dn, "reg", &host->cs);