OpenCloudOS-Kernel/drivers/net/wireless/ti
Uwe Kleine-König 69ddcea564 wifi: wl12xx: Drop if with an always false condition
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@pengutronix.de>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220715224619.ht7bbzzrmysielm7@pengutronix.de
2022-07-27 15:51:53 +03:00
..
wl12xx wifi: wl12xx: Drop if with an always false condition 2022-07-27 15:51:53 +03:00
wl18xx wl18xx: debugfs: use pm_runtime_resume_and_get() instead of pm_runtime_get_sync() 2022-04-23 15:43:27 +03:00
wl1251 wifi: wl1251: fix repeated words in comments 2022-07-18 15:12:08 +03:00
wlcore wifi: mac80211: replace link_id with link_conf in switch/(un)assign_vif_chanctx() 2022-07-15 11:43:20 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
wilink_platform_data.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00