aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-06-01 10:25:54 +0200
committerKalle Valo <[email protected]>2023-06-09 15:27:57 +0300
commitfad5ac80dfa5010d44c24d59d9e8e1552a447911 (patch)
tree68e01571b59f6c4f44e5520d4899e368ada58e00 /tools/perf/scripts/python/task-analyzer.py
parentec3b1ce2ca347b4b0a7cd5d1b69c316840202df3 (diff)
wifi: ath10k: Drop checks that are always false
platform_get_drvdata() cannot return NULL as the probe function calls platform_set_drvdata() with a non-NULL argument or returns with a failure. In the first case, platform_get_drvdata() returns this non-NULL value and in the second the remove callback isn't called at all. ath10k_ahb_priv() cannot return NULL and ar_ahb is unused after the check anyhow. Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions