diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-04-10 16:05:48 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2024-04-25 11:58:52 +0200 |
commit | 25998816ff25a9c2cf58d38d744cbdee97881bce (patch) | |
tree | 2e9afcd8198cb2f756fbe86673c12a57dbc6ce6d /scripts/gdb/linux/stackdepot.py | |
parent | bce42d6108c9ff6de1381995dffa762730ce0756 (diff) |
memstick: rtsx_pci_ms: Drop if block with always false condition
rtsx_pci_ms_drv_remove() is only called after rtsx_pci_ms_drv_probe()
completed successfully. In this case platform_set_drvdata() was called
with a non-NULL argument and so platform_get_drvdata() won't return
NULL.
Simplify by removing the if block with the always false condition.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/dd0d06ca9388fd8f6a3a8bb57354baaeaf56800a.1712757795.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions