aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorIlpo Järvinen <[email protected]>2023-12-15 17:05:03 +0200
committerShuah Khan <[email protected]>2024-02-13 13:56:44 -0700
commit3cdad0a5a6cf581519748612cb449b43379510a4 (patch)
treea08701e8e3ade7ebbb8fd9e2cd2d748da364e7e7 /net/lapb/lapb_subr.c
parent038ce802e248a985150156da84bc3f118236b898 (diff)
selftests/resctrl: Convert perf related globals to locals
Perf related variables pea_llc_miss, pe_read, and pe_fd are globals in cache.c. Convert them to locals for better scoping and make pea_llc_miss simpler by renaming it to pea. Make close(pe_fd) handling easier to understand by doing it inside cat_val(). Make also sizeof()s use safer way to determine the right struct. Signed-off-by: Ilpo Järvinen <[email protected]> Reviewed-by: Reinette Chatre <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions