mtd: brcmnand: drop unnecessary initialization

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
Brian Norris 2015-05-28 15:07:45 -07:00
parent 57dd990c5e
commit 5e65d48b60

View 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);