diff options
author | SeongJae Park <sj@kernel.org> | 2024-05-03 11:03:12 -0700 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-05-11 15:41:34 -0700 |
commit | 06cf8ce12cd659a3064c2e7b0208a2c0a3426838 (patch) | |
tree | 61a8a4b17e435a5e51cd4155c519b988615e6908 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e799fda6926ec01f8488023d4f891289996322aa (diff) |
selftests/damon/_damon_sysfs: use 'is' instead of '==' for 'None'
_damon_sysfs.py is using '==' or '!=' for 'None'. Since 'None' is a
singleton, using 'is' or 'is not' is more efficient. Use the more
efficient one.
Link: https://lkml.kernel.org/r/20240503180318.72798-5-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions