diff options
author | 2024-05-03 11:03:12 -0700 | |
---|---|---|
committer | 2024-05-11 15:41:34 -0700 | |
commit | 06cf8ce12cd659a3064c2e7b0208a2c0a3426838 (patch) | |
tree | 61a8a4b17e435a5e51cd4155c519b988615e6908 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/damon/_damon_sysfs: find sysfs mount point from /proc/mounts (diff) | |
download | wireguard-linux-06cf8ce12cd659a3064c2e7b0208a2c0a3426838.tar.xz wireguard-linux-06cf8ce12cd659a3064c2e7b0208a2c0a3426838.zip |
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions