diff options
author | Amit Vadhavana <av2082000@gmail.com> | 2024-11-16 18:21:36 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2024-12-19 02:14:29 +0300 |
commit | 7a9b65ab0abd52ae646ba327522315d7500a7d4f (patch) | |
tree | 7bff50c92a79b6c10293def394e1bb5758459fca /tools/perf/scripts/python/task-analyzer.py | |
parent | 012920131013208186ce0ded0ef1c47fa67a70f6 (diff) | |
download | linux-7a9b65ab0abd52ae646ba327522315d7500a7d4f.tar.xz |
selftests: refactor the lsm `flags_overset_lsm_set_self_attr` test
Remove the temporary context variable `tctx` to simplify the code. use
the original context `ctx` directly in calls to `lsm_get_self_attr`,
eliminating redundancy without any functional changes.
Reviewed-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Amit Vadhavana <av2082000@gmail.com>
[PM: subject tweak]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions