summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorKai Kuang <kuangkai@kylinos.cn>2026-08-12 14:06:44 +0800
committerJakub Kicinski <kuba@kernel.org>2026-08-14 13:57:27 -0700
commite6a5d573d24cd375e09d24f136523cb3cc85c9d3 (patch)
tree0a45c214c1ba842741f45d57d9c71a3b17b62888 /tools/perf/scripts/python/bin/stackcollapse-record
parent9958e69b98930834a576e156f6458166d1db1c02 (diff)
net: dsa: drop explicit NULL comparisons
Replace explicit NULL comparisons with the boolean form to follow the kernel coding style: dev->class != NULL -> dev->class user_dev == NULL -> !user_dev No functional changes intended. Signed-off-by: Kai Kuang <kuangkai@kylinos.cn> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Joe Damato <joe@dama.to> Link: https://patch.msgid.link/20260812060644.210997-1-kuangkai@kylinos.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions