diff options
author | SeongJae Park <[email protected]> | 2024-05-03 11:03:12 -0700 |
---|---|---|
committer | Andrew Morton <[email protected]> | 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/[email protected]
Signed-off-by: SeongJae Park <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions