powerpc/kexec: Remove stale comment from check_realloc_usable_mem()
PATCH 1/1 powerpc/kexec: Remove stale comment from check_realloc_usable_mem()
check_realloc_usable_mem() does not free the buffer if memory allocation fails - remove the misleading comment. The buffer is owned and freed by update_usable_mem_fdt().
Signed-off-by Thorsten Blum <[email protected]>
--- arch/powerpc/kexec/file_load_64.c | 2 -- 1 file changed, 2 deletions(-)
arch/powerpc/kexec/file_load_64.c +0 -2
@@ -69,8 +69,6 @@ int arch_check_excluded_range(struct kimage *image, unsigned long start,* @um_info: Usable memory buffer and ranges info. * @cnt: No. of entries to accommodate. * -* Frees up the old buffer if memory reallocation fails. -* * Returns buffer on success, NULL on error. */ static __be64 *check_realloc_usable_mem (struct umem_info *um_info,int cnt)