[v2,0/2] mm/memory_hotplug: cleanup do_migrate_range()

Message ID 20230215230300.61125-1-sj@kernel.org
Headers
Series mm/memory_hotplug: cleanup do_migrate_range() |

Message

SeongJae Park Feb. 15, 2023, 11:02 p.m. UTC
  Make do_migrate_range() return value mechanism simple.

Changes from v1
(https://lore.kernel.org/linux-mm/20230214223236.58430-1-sj@kernel.org/)
- Simply return nothing from do_migrate_range() (David Hildenbrand)
- Add a cleanup for 'ret' variable

SeongJae Park (2):
  mm/memory_hotplug: return nothing from do_migrate_range()
  mm/memory_hotplug: cleanup 'ret' variable usage in do_migrate_range()

 mm/memory_hotplug.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)