remove annotation of gfp_mask in add_to_swap
Subsystems (2)
PATCH 1/1 remove annotation of gfp_mask in add_to_swap
Hugh removed add_to_swap's gfp_mask argument.
(mm: remove gfp_mask from add_to_swap)
So we have to remove annotation of gfp_mask of the function.
This patch cleans up add_to_swap function.
It doesn't affect behavior of function.
--- mm/swap_state.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
mm/swap_state.c +0 -1
@@ -124,7 +124,6 @@ void __delete_from_swap_cache(struct page *page)/** * add_to_swap - allocate swap space for a page * @page: page we want to move to swap -* @gfp_mask: memory allocation flags * * Allocate swap space for the page and add the page to the * swap cache. Caller needs to hold the page lock.
Signature · 7 lines
1.5.6.5 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 3 lines · Minchan Kim
Hugh removed add_to_swap's
gfp_maskargument.
(mm: removegfp_maskfromadd_to_swap)
So we have to remove annotation ofgfp_maskof the function.
"annotation"? Or "DocBook comment"? Or "DocBook annotation"?
Quoted 6 lines
This patch cleans up
add_to_swapfunction. It doesn't affect behavior of function.Signed-off-by Minchan Kim <[email protected]>Cc Hugh Dickins <[email protected]>
Thanks, yes, my oversight.
Quoted 18 lines
--- mm/swap_state.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)mm/swap_state.c +0
-1@@ -124,7 +124,6 @@ void __delete_from_swap_cache(struct page *page)/** * add_to_swap - allocate swap space for a page * @page: page we want to move to swap -* @gfp_mask: memory allocation flags * * Allocate swap space for the page and add the page to the * swap cache. Caller needs to hold the page lock. Signature · 1 line
1.5.6.5
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>