aboutsummaryrefslogtreecommitdiff
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2024-09-25 18:43:35 +0300
committerAndrew Morton <[email protected]>2024-11-05 17:12:28 -0800
commitba1eccc114ffc62c4495a5e15659190fa2c42308 (patch)
tree44dfcad68efd0177307c90e2474e30d76ce00828 /fs/proc/array.c
parent5c1edea773c98707fbb23d1df168bcff52f61e4b (diff)
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