aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorArmin Wolf <[email protected]>2024-04-02 16:30:58 +0200
committerHans de Goede <[email protected]>2024-04-08 17:45:35 +0200
commitc5e160ff34b4493452cba80c684f5e7c8fc1c9e2 (patch)
treec7a1ec5aaeb1f47b10945121a1272882c8db8080 /tools/perf/scripts/python/stackcollapse.py
parent290680c2da8061e410bcaec4b21584ed951479af (diff)
platform/x86: xiaomi-wmi: Drop unnecessary NULL checks
The WMI driver core already makes sure that: - a valid WMI device is passed to each callback - the notify() callback runs after the probe() callback succeeds Remove the unnecessary NULL checks. Compile-tested only. Signed-off-by: Armin Wolf <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Kuppuswamy Sathyanarayanan <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions