drivers/base/memory.c: get rid of find_memory_block_hinted()

No longer needed, let's remove it.  Also, drop the "hint" parameter
completely from "find_memory_block_by_id", as nobody needs it anymore.

[ v3]
[ handle zero-length walks]
Signed-off-by: David Hildenbrand <>
Reviewed-by: Andrew Morton <>
Tested-by: Qian Cai <>
Cc: Greg Kroah-Hartman <>
Cc: "Rafael J. Wysocki" <>
Cc: David Hildenbrand <>
Cc: Stephen Rothwell <>
Cc: Pavel Tatashin <>
Cc: Andrew Banman <>
Cc: Mike Travis <>
Cc: Oscar Salvador <>
Cc: Michal Hocko <>
Cc: Wei Yang <>
Cc: Arun KS <>
Cc: Stephen Rothwell <>
Signed-off-by: Andrew Morton <>
Signed-off-by: Linus Torvalds <>
2 files changed