summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2025-11-01 21:20:15 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-11-17 04:28:35 +0300
commit40b11d1eb19cf5c53a642d35f27fd1eafd9e0caf (patch)
tree833a19f534f862e7e1641148e5c7cdf28a8ea0a3 /include/linux
parent7d808bf13943f4c6a6142400bffe14267f6dc997 (diff)
downloadlinux-40b11d1eb19cf5c53a642d35f27fd1eafd9e0caf.tar.xz
mm/damon/tests/core-kunit: remove unnecessary damon_ctx variable on damon_test_split_at()
damon_test_split_at() 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-22-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