diff options
author | Brian Norris <computersforpeace@gmail.com> | 2015-05-28 15:07:45 -0700 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-06-16 18:50:51 -0700 |
commit | 5e65d48b6049e090fdc57490db9d797124f2a9eb (patch) | |
tree | 60792fbf286a28229479285ef46dad7aaea0040b /drivers/mtd | |
parent | 57dd990c5e9c4664f3db4cba271c808ca7adf9e5 (diff) |
mtd: brcmnand: drop unnecessary initialization
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/brcmnand/brcmnand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/brcmnand/brcmnand.c b/drivers/mtd/nand/brcmnand/brcmnand.c index a48ad49c7acc..fddb795eeb71 100644 --- a/drivers/mtd/nand/brcmnand/brcmnand.c +++ b/drivers/mtd/nand/brcmnand/brcmnand.c @@ -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); |