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
Reviewed-by: Shuah Khan
Signed-off-by: Amit Vadhavana
---
V1:- https
- Remove unnecessary `tctx` variable, use `ctx` directly.
- Simplified code with no functional changes.
Signed-off-by: Amit Vadhavana
---
tools/testing/selftests/lsm/lsm_set_self_attr_test.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/tools/testing/selftests/lsm
2 matches
Mail list logo