[PATCH 14/14] mtd: physmap: Drop if with an always false condition

Miquel Raynal miquel.raynal at bootlin.com
Thu Jun 9 06:09:14 PDT 2022


On Fri, 2022-06-03 at 21:07:58 UTC, =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= wrote:
> The remove callback is only called after probe completed successfully.
> In this case platform_set_drvdata() was called with a non-NULL argument
> and so info is never NULL.
> 
> This is a preparation for making platform remove callbacks return void.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Miquel



More information about the linux-mtd mailing list