summaryrefslogtreecommitdiffstats
path: root/mm/mincore.c
diff options
context:
space:
mode:
authorLukas Bulwahn <lukas.bulwahn@gmail.com>2022-10-07 10:50:27 +0200
committerAndrew Morton <akpm@linux-foundation.org>2022-11-09 02:37:13 +0100
commit6fe7d712d798e9312e3dff69ec3f5f62f4d03a04 (patch)
treef7d295c5dec75d89dcbb614e0f066c44cef956ee /mm/mincore.c
parentmm: fix typo in struct vm_operations_struct comments (diff)
downloadlinux-6fe7d712d798e9312e3dff69ec3f5f62f4d03a04.tar.xz
linux-6fe7d712d798e9312e3dff69ec3f5f62f4d03a04.zip
mm/shmem: remove unneeded assignments in shmem_get_folio_gfp()
After the rework of shmem_get_folio_gfp() to use a folio, the local variable hindex is only needed to be set once before passing it to shmem_add_to_page_cache(). Remove the unneeded initialization and assignments of the variable hindex before the actual effective assignment and first use. No functional change. No change in object code. Link: https://lkml.kernel.org/r/20221007085027.6309-1-lukas.bulwahn@gmail.com Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Cc: Hugh Dickins <hughd@google.com> Cc: Matthew Wilcox <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/mincore.c')
0 files changed, 0 insertions, 0 deletions