From: Pratyush Yadav <pratyush@kernel.org>
To: Tudor Ambarus <tudor.ambarus@linaro.org>
Cc: pratyush@kernel.org, michael@walle.cc,
miquel.raynal@bootlin.com, richard@nod.at,
jaimeliao@mxic.com.tw, linux-mtd@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 4/4] mtd: spi-nor: drop superfluous debug prints
Date: Mon, 29 Jan 2024 14:26:03 +0100 [thread overview]
Message-ID: <mafs0v87cs238.fsf@kernel.org> (raw)
In-Reply-To: <120bf090-0c07-4971-a18a-a1b326f1b139@linaro.org> (Tudor Ambarus's message of "Fri, 15 Dec 2023 10:24:42 +0200")
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@kernel.org>
--
Regards,
Pratyush Yadav
next prev parent reply other threads:[~2024-01-29 13:26 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-15 8:21 [PATCH 0/4] mtd: spi-nor: mark the flash name as obsolete Tudor Ambarus
2023-12-15 8:21 ` [PATCH 1/4] mtd: spi-nor: print flash ID instead of name Tudor Ambarus
2023-12-18 12:07 ` Michael Walle
2024-01-29 13:12 ` Pratyush Yadav
2023-12-15 8:21 ` [PATCH 2/4] mtd: spi-nor: mark the flash name as obsolete Tudor Ambarus
2023-12-18 12:08 ` Michael Walle
2024-01-29 13:13 ` Pratyush Yadav
2023-12-15 8:21 ` [PATCH 3/4] mtd: spi-nor: sysfs: hide the flash name if not set Tudor Ambarus
2023-12-18 12:11 ` Michael Walle
2024-01-29 13:24 ` Pratyush Yadav
2023-12-15 8:21 ` [PATCH 4/4] mtd: spi-nor: drop superfluous debug prints Tudor Ambarus
2023-12-15 8:24 ` Tudor Ambarus
2024-01-29 13:26 ` Pratyush Yadav [this message]
2024-01-29 13:27 ` Tudor Ambarus
2024-01-29 13:34 ` Pratyush Yadav
2023-12-18 12:14 ` Michael Walle
2023-12-19 2:47 ` [PATCH 0/4] mtd: spi-nor: mark the flash name as obsolete Tudor Ambarus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=mafs0v87cs238.fsf@kernel.org \
--to=pratyush@kernel.org \
--cc=jaimeliao@mxic.com.tw \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=michael@walle.cc \
--cc=miquel.raynal@bootlin.com \
--cc=richard@nod.at \
--cc=tudor.ambarus@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox