From 8ef342f7cbb5b3a0c67448536bf4e0f9dbcf2ef0 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sat, 26 Oct 2024 22:16:20 +0200 Subject: [PATCH] mtd: spi-nor: Remove recently added set_4byte() call Remove undocumented set_4byte() call. This was added in commit 5d40b3d384dc ("mtd: spi-nor: Add parallel and stacked memories support") without any explanation in the commit message. Remove it. Fixes: 5d40b3d384dc ("mtd: spi-nor: Add parallel and stacked memories support") Signed-off-by: Marek Vasut --- drivers/mtd/spi/spi-nor-core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c index 0b131ad9ab..3114281832 100644 --- a/drivers/mtd/spi/spi-nor-core.c +++ b/drivers/mtd/spi/spi-nor-core.c @@ -4593,7 +4593,6 @@ int spi_nor_scan(struct spi_nor *nor) #else /* Configure the BAR - discover bank cmds and read current bank */ nor->addr_width = 3; - set_4byte(nor, info, 0); ret = read_bar(nor, info); if (ret < 0) return ret; -- 2.39.5