diff options
| author | Dev Jain <[email protected]> | 2025-03-06 14:43:15 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-03-18 05:06:57 +0000 |
| commit | 11e88e9265ec192cff33fc2e43e36c211851b32c (patch) | |
| tree | 4a07e076abe084ba83f56198239bc34e99e2e748 /mm/page_ext.c | |
| parent | mm/damon: remove damon_operations->reset_aggregated (diff) | |
| download | kernel-11e88e9265ec192cff33fc2e43e36c211851b32c.tar.gz kernel-11e88e9265ec192cff33fc2e43e36c211851b32c.zip | |
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/[email protected]
Signed-off-by: Dev Jain <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Cc: Matthew Wilcow (Oracle) <[email protected]>
Cc: Ryan Roberts <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/page_ext.c')
0 files changed, 0 insertions, 0 deletions
