diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-10-09 11:38:39 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-10-10 16:36:44 +0300 |
commit | 88b3f108502bc45e6ebd005702add46759f3f45a (patch) | |
tree | fe396e794fd5af0ed90b56e14028a40cb9fb6a18 /tools/perf/scripts/python/stackcollapse.py | |
parent | 71e670266780e66207b9b4ea6a20f335039bf975 (diff) | |
download | linux-88b3f108502bc45e6ebd005702add46759f3f45a.tar.xz |
pinctrl: ti: ti-iodelay: Drop if block with always false condition
ti_iodelay_remove() is only called after ti_iodelay_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/20231009083856.222030-4-u.kleine-koenig@pengutronix.de
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions