summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2024-04-02 16:30:58 +0200
committerHans de Goede <hdegoede@redhat.com>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 <W_Armin@gmx.de> Link: https://lore.kernel.org/r/20240402143059.8456-3-W_Armin@gmx.de Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions