diff options
| author | SeongJae Park <[email protected]> | 2022-10-26 22:59:37 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-11-30 15:01:25 -0800 |
| commit | 1f71981408ef5696ad8544f282d336d4fc60a807 (patch) | |
| tree | 036b4ccca0838ca6536c769ff5f675724955fd35 /include/linux/debugobjects.h | |
| parent | 789a230613c8dd14bdd41653de0c22783726276f (diff) | |
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/[email protected]
Signed-off-by: SeongJae Park <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions