Re: wifi: wl12xx: Drop if with an always false condition
From: Kalle Valo <kvalo@kernel.org>
Date: 2022-07-27 12:52:30
Also in:
linux-wireless
From: Kalle Valo <kvalo@kernel.org>
Date: 2022-07-27 12:52:30
Also in:
linux-wireless
Uwe Kleine-König [off-list ref] 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 <redacted>
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