From 0498ff933813932ff057cdc314ab46df4a596d06 Mon Sep 17 00:00:00 2001 From: Alexander Dahl Date: Tue, 8 Aug 2023 15:02:49 +0200 Subject: [PATCH] mtd: nand: raw: atmel: Remove duplicate line Signed-off-by: Alexander Dahl Reviewed-by: Michael Trimarchi --- drivers/mtd/nand/raw/atmel/nand-controller.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/nand/raw/atmel/nand-controller.c b/drivers/mtd/nand/raw/atmel/nand-controller.c index 9873d11254..2b29c8def6 100644 --- a/drivers/mtd/nand/raw/atmel/nand-controller.c +++ b/drivers/mtd/nand/raw/atmel/nand-controller.c @@ -1474,7 +1474,6 @@ static void atmel_nand_init(struct atmel_nand_controller *nc, mtd->dev->parent = nc->dev; nand->controller = &nc->base; - nand->controller = &nc->base; chip->cmd_ctrl = atmel_nand_cmd_ctrl; chip->read_byte = atmel_nand_read_byte; -- 2.39.5