summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2024-02-29 21:12:59 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-03-05 17:28:02 +0300
commit64386d1588f53ccde07cfeb04cddf2f6d1a75a40 (patch)
treee3e1c9518d24291eedf47a6ffb0c7d9f4d62efeb /tools/perf/scripts/python/export-to-postgresql.py
parentd6543805a8ad6ffcddf5ffdfb3b27dcee3806474 (diff)
downloadlinux-64386d1588f53ccde07cfeb04cddf2f6d1a75a40.tar.xz
mei: txe: 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 <bhelgaas@google.com> Link: https://lore.kernel.org/r/20240229181300.352077-3-helgaas@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions