diff options
author | SeongJae Park <sj@kernel.org> | 2022-10-27 01:59:37 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-12-01 02:01:25 +0300 |
commit | 1f71981408ef5696ad8544f282d336d4fc60a807 (patch) | |
tree | 036b4ccca0838ca6536c769ff5f675724955fd35 /block | |
parent | 789a230613c8dd14bdd41653de0c22783726276f (diff) | |
download | linux-1f71981408ef5696ad8544f282d336d4fc60a807.tar.xz |
mm/damon/sysfs: remove parameters of damon_sysfs_region_alloc()
'damon_sysfs_region_alloc()' is always called with zero-filled 'struct
damon_addr_range', because the start and end addresses should set by
users. Remove unnecessary parameters of the function and simplify the
body by using 'kzalloc()'.
Link: https://lkml.kernel.org/r/20221026225943.100429-7-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions