diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-07-16 00:46:19 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2022-07-27 15:51:53 +0300 |
commit | 69ddcea564437ce4b0d5143f37a9154fcef8d3d2 (patch) | |
tree | 86ed5b3a31124ffff45538dc93d67351ee653b57 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6fd57e1d120bf13d4dc6c200a7cf914e6347a316 (diff) |
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
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions