aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2024-09-25 15:43:35 +0000
committerAndrew Morton <[email protected]>2024-11-06 01:12:28 +0000
commitba1eccc114ffc62c4495a5e15659190fa2c42308 (patch)
tree44dfcad68efd0177307c90e2474e30d76ce00828 /fs/proc/array.c
parentresource: replace open coded resource_intersection() (diff)
downloadkernel-ba1eccc114ffc62c4495a5e15659190fa2c42308.tar.gz
kernel-ba1eccc114ffc62c4495a5e15659190fa2c42308.zip
resource: introduce is_type_match() helper and use it
There are already a couple of places where we may replace a few lines of code by calling a helper, which increases readability while deduplicating the code. Introduce is_type_match() helper and use it. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Andy Shevchenko <[email protected]> Cc: Rasmus Villemoes <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions