Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c83d29f0 authored by Julia Lawall's avatar Julia Lawall Committed by David Woodhouse
Browse files

mtd: maps: rbtx4939-flash: delete unneeded test



Err has only been initialized to 0 at this, so it is not possible that this
test can be true.

Signed-off-by: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 25806d3c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -100,8 +100,6 @@ static int rbtx4939_flash_probe(struct platform_device *dev)
		goto err_out;
	}
	info->mtd->owner = THIS_MODULE;
	if (err)
		goto err_out;
	err = mtd_device_parse_register(info->mtd, NULL, NULL, pdata->parts,
					pdata->nr_parts);