diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-10-09 10:38:38 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-10-10 15:35:56 +0200 |
commit | 71e670266780e66207b9b4ea6a20f335039bf975 (patch) | |
tree | 8e2bee8f3bea6c419b34c90a0cfa911a1322ca7c /tools/perf/scripts/python/check-perf-trace.py | |
parent | 35df4b75bd57e0699d0a1ff696880dcbd7e565f2 (diff) |
pinctrl: single: Drop if block with always false condition
pcs_remove() is only called after pcs_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-3-u.kleine-koenig@pengutronix.de
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions