diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c index 78c3fffad1705..75da355ccf453 100644 --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c @@ -581,7 +581,6 @@ static int mtd_part_acpi_parse(struct mtd_info *master, struct mtd_partitions *pparts) { struct mtd_part_parser *parser; - struct acpi_device *adev; struct fwnode_handle *child; const char *compat; const char *fixed = "acpi-fixed-partitions";