Commit 5e65d48b authored by Brian Norris's avatar Brian Norris

mtd: brcmnand: drop unnecessary initialization

Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 57dd990c
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment