summaryrefslogtreecommitdiff
path: root/lib/xarray.c
diff options
context:
space:
mode:
authorDev Jain <dev.jain@arm.com>2025-03-06 20:13:15 +0530
committerAndrew Morton <akpm@linux-foundation.org>2025-03-17 22:06:57 -0700
commit11e88e9265ec192cff33fc2e43e36c211851b32c (patch)
tree4a07e076abe084ba83f56198239bc34e99e2e748 /lib/xarray.c
parent105f830fa35c49ada7db785a7f9b70386f193529 (diff)
mm: remove redundant return in set_huge_zero_folio()
It is the responsibility of the caller to check pmd_none(); in any case, we are not achieving anything by returning since there is no return value to tell the caller that we succeeded or not. So remove this check. Link: https://lkml.kernel.org/r/20250306144315.21907-1-dev.jain@arm.com Signed-off-by: Dev Jain <dev.jain@arm.com> Reviewed-by: David Hildenbrand <david@redhat.com> Cc: Matthew Wilcow (Oracle) <willy@infradead.org> Cc: Ryan Roberts <ryan.roberts@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions