diff options
| author | Bjorn Helgaas <[email protected]> | 2024-02-29 12:13:00 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-03-05 14:28:02 +0000 |
| commit | e37db17dae6113f8f0b620753de5a1f9cb482771 (patch) | |
| tree | 6dcc07254c685968f46d2ce105588bb10ea11016 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 64386d1588f53ccde07cfeb04cddf2f6d1a75a40 (diff) | |
mei: me: remove unnecessary NULL pointer checks
The .shutdown(), .remove(), and power management callbacks are never called
unless .probe() has already returned success, which means it has set
drvdata to a non-NULL pointer, so "dev" can never be NULL in the other
callbacks.
Remove the unnecessary checks.
Signed-off-by: Bjorn Helgaas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions