From: Alexander Dahl Date: Tue, 8 Aug 2023 13:02:49 +0000 (+0200) Subject: mtd: nand: raw: atmel: Remove duplicate line X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=0498ff933813932ff057cdc314ab46df4a596d06;p=u-boot.git mtd: nand: raw: atmel: Remove duplicate line Signed-off-by: Alexander Dahl Reviewed-by: Michael Trimarchi --- 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;