From: Mike Rapoport Date: Thu, 5 Apr 2018 23:24:53 +0000 (-0700) Subject: mm/swap.c: remove @cold parameter description for release_pages() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=002843de36e18bd5be6f5bb858c0de18b6447a64;p=openwrt%2Fstaging%2Fblogic.git mm/swap.c: remove @cold parameter description for release_pages() The 'cold' parameter was removed from release_pages function by commit c6f92f9fbe7d ("mm: remove cold parameter for release_pages"). Update the description to match the code. Link: http://lkml.kernel.org/r/1519585191-10180-3-git-send-email-rppt@linux.vnet.ibm.com Signed-off-by: Mike Rapoport Reviewed-by: Andrew Morton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/swap.c b/mm/swap.c index 0f17330dd0e5..3dd518832096 100644 --- a/mm/swap.c +++ b/mm/swap.c @@ -707,7 +707,6 @@ void lru_add_drain_all(void) * release_pages - batched put_page() * @pages: array of pages to release * @nr: number of pages - * @cold: whether the pages are cache cold * * Decrement the reference count on all the pages in @pages. If it * fell to zero, remove the page from the LRU and free it.