[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <165892634124.11639.5820466712646942521.kvalo@kernel.org>
Date: Wed, 27 Jul 2022 12:52:22 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Cc: Florian Fainelli <f.fainelli@...il.com>, netdev@...r.kernel.org,
linux-wireless@...r.kernel.org, Eric Dumazet <edumazet@...gle.com>,
kernel@...gutronix.de, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: wifi: wl12xx: Drop if with an always false condition
Uwe Kleine-König <u.kleine-koenig@...gutronix.de> wrote:
> The remove callback is only called after probe completed successfully.
> In this case platform_set_drvdata() was called with a non-NULL argument
> (in wlcore_probe()) and so wl is never NULL.
>
> This is a preparation for making platform remove callbacks return void.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Patch applied to wireless-next.git, thanks.
69ddcea56443 wifi: wl12xx: Drop if with an always false condition
--
https://patchwork.kernel.org/project/linux-wireless/patch/20220715224619.ht7bbzzrmysielm7@pengutronix.de/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists