summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/access_variable_array.c
diff options
context:
space:
mode:
authorChang S. Bae <chang.seok.bae@intel.com>2025-02-27 21:44:46 +0300
committerIngo Molnar <mingo@kernel.org>2025-02-27 21:54:41 +0300
commit69a2fdf446049ae31be4a14a0cf16f2f18f09b6c (patch)
tree2aa2f0999d96b49964de7fe8cf9a57157841c7a6 /tools/testing/selftests/bpf/prog_tests/access_variable_array.c
parentdc8aa31a7ac2c4290ea974c13cb0094e08f8948f (diff)
downloadlinux-69a2fdf446049ae31be4a14a0cf16f2f18f09b6c.tar.xz
x86/fpu/xstate: Simplify print_xstate_features()
print_xstate_features() currently invokes print_xstate_feature() multiple times on separate lines, which can be simplified in a loop. print_xstate_feature() already checks the feature's enabled status and is only called within print_xstate_features(). Inline print_xstate_feature() and iterate over features in a loop to streamline the enabling message. No functional changes. Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Dave Hansen <dave.hansen@linux.intel.com> Link: https://lore.kernel.org/r/20250227184502.10288-2-chang.seok.bae@intel.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions