[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <mafs0v87cs238.fsf@kernel.org>
Date: Mon, 29 Jan 2024 14:26:03 +0100
From: Pratyush Yadav <pratyush@...nel.org>
To: Tudor Ambarus <tudor.ambarus@...aro.org>
Cc: pratyush@...nel.org, michael@...le.cc, miquel.raynal@...tlin.com,
richard@....at, jaimeliao@...c.com.tw, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/4] mtd: spi-nor: drop superfluous debug prints
On Fri, Dec 15 2023, Tudor Ambarus wrote:
> I missed to drop some unused variables. Will drop them if everything
> else is fine.
>
> diff --git a/drivers/mtd/spi-nor/core.c b/drivers/mtd/spi-nor/core.c
> index a708c3448809..92c992eb73d5 100644
> --- a/drivers/mtd/spi-nor/core.c
> +++ b/drivers/mtd/spi-nor/core.c
> @@ -3492,9 +3492,7 @@ int spi_nor_scan(struct spi_nor *nor, const char
> *name,
> {
> const struct flash_info *info;
> struct device *dev = nor->dev;
> - struct mtd_info *mtd = &nor->mtd;
> int ret;
> - int i;
>
> ret = spi_nor_check(nor);
> if (ret)
With these,
Reviewed-by: Pratyush Yadav <pratyush@...nel.org>
--
Regards,
Pratyush Yadav
Powered by blists - more mailing lists