summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/brcmnand/brcmnand.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2015-05-28 15:07:45 -0700
committerBrian Norris <computersforpeace@gmail.com>2015-06-16 18:50:51 -0700
commit5e65d48b6049e090fdc57490db9d797124f2a9eb (patch)
tree60792fbf286a28229479285ef46dad7aaea0040b /drivers/mtd/nand/brcmnand/brcmnand.c
parent57dd990c5e9c4664f3db4cba271c808ca7adf9e5 (diff)
downloadlinux-5e65d48b6049e090fdc57490db9d797124f2a9eb.tar.bz2
mtd: brcmnand: drop unnecessary initialization
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/brcmnand/brcmnand.c')
-rw-r--r--drivers/mtd/nand/brcmnand/brcmnand.c2
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);