diff options
| author | SeongJae Park <sj@kernel.org> | 2025-11-01 21:20:16 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-11-17 04:28:35 +0300 |
| commit | 80d725f96c44e6e8eff02a9820dbbeef6a52091a (patch) | |
| tree | 9f7c74309aad68e49b653739fb65f7b328266084 /include/linux | |
| parent | 40b11d1eb19cf5c53a642d35f27fd1eafd9e0caf (diff) | |
| download | linux-80d725f96c44e6e8eff02a9820dbbeef6a52091a.tar.xz | |
mm/damon/tests/core-kunit: remove unused ctx in damon_test_split_regions_of()
damon_test_split_regions_of() dynamically allocates a 'struct damon_ctx'
object, but it is not really being used in the code other than handling
the allocation failure and deallocating it at the end of the function.
Remove the unnecessary allocation and deallocation of the object.
Link: https://lkml.kernel.org/r/20251101182021.74868-23-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Brendan Higgins <brendan.higgins@linux.dev>
Cc: David Gow <davidgow@google.com>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
