aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorSergey Senozhatsky <senozhatsky@chromium.org>2024-12-18 15:34:19 +0900
committerAndrew Morton <akpm@linux-foundation.org>2025-01-25 20:22:20 -0800
commitb4444a849f1827c04df81a6f1ef26ddb6f072a94 (patch)
treebe3838f2c349b952131da6dd343afb3fa4ad2e2c /mm/hugetlb.c
parentzram: free slot memory early during write (diff)
downloadwireguard-linux-b4444a849f1827c04df81a6f1ef26ddb6f072a94.tar.xz
wireguard-linux-b4444a849f1827c04df81a6f1ef26ddb6f072a94.zip
zram: remove entry element member
Element is in the same anon union as handle and hence holds the same value, which makes code below sort of confusing handle = zram_get_handle() if (!handle) element = zram_get_element() Element doesn't really simplify the code, let's just remove it. We already re-purpose handle to store the block id a written back page. Link: https://lkml.kernel.org/r/20241218063513.297475-3-senozhatsky@chromium.org Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org> Cc: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions