diff options
| author | Lukas Bulwahn <[email protected]> | 2022-10-07 10:50:27 +0200 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-11-08 17:37:13 -0800 |
| commit | 6fe7d712d798e9312e3dff69ec3f5f62f4d03a04 (patch) | |
| tree | f7d295c5dec75d89dcbb614e0f066c44cef956ee /tools/perf/scripts/python/libxed.py | |
| parent | 3e0ee843427a573e3e1187a5331e4b7fb00a76f3 (diff) | |
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/[email protected]
Signed-off-by: Lukas Bulwahn <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions