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

Commit e4c4c9c1 authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by Brian Norris
Browse files

mtd: maps: rbtx4939-flash: delete an unused variable in rbtx4939_flash_remove

parent 887957b4
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -35,8 +35,6 @@ static int rbtx4939_flash_remove(struct platform_device *dev)
		return 0;

	if (info->mtd) {
		struct rbtx4939_flash_data *pdata = dev_get_platdata(&dev->dev);

		mtd_device_unregister(info->mtd);
		map_destroy(info->mtd);
	}