]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: nand: raw: atmel: Remove duplicate line
authorAlexander Dahl <ada@thorsis.com>
Tue, 8 Aug 2023 13:02:49 +0000 (15:02 +0200)
committerEugen Hristev <eugen.hristev@collabora.com>
Wed, 23 Aug 2023 13:03:26 +0000 (16:03 +0300)
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
drivers/mtd/nand/raw/atmel/nand-controller.c

index 9873d112544d6685883c456ccf5a085ce84052f1..2b29c8def6d4f6a9bb1f08d6d817cfbf6a710b1f 100644 (file)
@@ -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;