[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241021100038.101813-1-miquel.raynal@bootlin.com>
Date: Mon, 21 Oct 2024 12:00:38 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Colin Ian King <colin.i.king@...il.com>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
linux-mtd@...ts.infradead.org
Cc: kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] mtd: cfi_cmdset_0002: remove redundant assignment to variable ret
On Wed, 2024-10-02 at 17:22:58 UTC, Colin Ian King wrote:
> Variable ret is being assigned a value that is never read, the following
> goto statement jumps to a statement that assigns ret a return from the
> call to function do_write_oneword_once. The assignment is redundant
> and can be removed.
>
> Signed-off-by: Colin Ian King <colin.i.king@...il.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel
Powered by blists - more mailing lists