mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 05:33:09 +00:00
mtd: brcmnand: drop unnecessary initialization
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
57dd990c5e
commit
5e65d48b60
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user