diff options
Diffstat (limited to 'mm')
| -rw-r--r-- | mm/swap_state.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/swap_state.c b/mm/swap_state.c index b2230f8a48fc..5f97c6ae70a2 100644 --- a/mm/swap_state.c +++ b/mm/swap_state.c @@ -509,10 +509,6 @@ put_and_return: * and reading the disk if it is not already cached. * A failure return means that either the page allocation failed or that * the swap entry is no longer in use. - * - * get/put_swap_device() aren't needed to call this function, because - * __read_swap_cache_async() call them and swap_read_folio() holds the - * swap cache folio lock. */ struct folio *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, struct vm_area_struct *vma, unsigned long addr, |