[PATCH] mm/ksm: remove unused parameter from remove_trailing_rmap_items()

2021-03-30 Thread Chengyang Fan
Since commit 6514d511dbe5 ("ksm: singly-linked rmap_list") was merged, remove_trailing_rmap_items() doesn't use the 'mm_slot' parameter. So remove it, and update caller accordingly. Signed-off-by: Chengyang Fan --- mm/ksm.c | 7 +++ 1 file changed, 3 insertions

[PATCH] mm/ksm: remove unused parameter from remove_trailing_rmap_items()

2021-03-30 Thread Chengyang Fan
Since commit 6514d511dbe5 ("ksm: singly-linked rmap_list") was merged, remove_trailing_rmap_items() doesn't use the 'mm_slot' parameter. So remove it, and update caller accordingly. Signed-off-by: Chengyang Fan --- mm/ksm.c | 7 +++ 1 file changed, 3 insertions

Re: [PATCH] mm/memcontrol: Remove unneeded semicolons

2021-01-17 Thread Chengyang Fan
I'm doing the work. Should I submit patches individually or together? On 2021/1/18 10:09, Joe Perches wrote: On Mon, 2021-01-18 at 09:52 +0800, Chengyang Fan wrote: Remove superfluous semicolons after function definitions. Are you intending to submit patches for all of these? (ther

[PATCH] mm/memcontrol: Remove unneeded semicolons

2021-01-17 Thread Chengyang Fan
Remove superfluous semicolons after function definitions. Signed-off-by: Chengyang Fan --- include/linux/memcontrol.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h index d827bd7f3bfe..77802cc217ff 100644 --- a

[PATCH] resource: Remove unneeded semicolon

2021-01-17 Thread Chengyang Fan
Remove a superfluous semicolon after function definition. Signed-off-by: Chengyang Fan --- include/linux/ioport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/ioport.h b/include/linux/ioport.h index fe48b7840665..803c10f6a6df 100644 --- a/include/linux

[PATCH] mm/migrate: Remove unneeded semicolons

2021-01-15 Thread Chengyang Fan
Remove superfluous semicolons after function definitions. Signed-off-by: Chengyang Fan --- include/linux/migrate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/migrate.h b/include/linux/migrate.h index 4594838a0f7c..3a389633b68f 100644 --- a/include/linux

[PATCH] fs: Remove unneeded semicolon

2021-01-15 Thread Chengyang Fan
Remove a superfluous semicolon after function definition. Signed-off-by: Chengyang Fan --- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/fs.h b/include/linux/fs.h index fd47deea7c17..3072a587a823 100644 --- a/include/linux/fs.h +++ b

[PATCH] fs: Remove unneeded semicolon

2021-01-15 Thread Chengyang Fan
Remove a superfluous semicolon after function definition. Signed-off-by: Chengyang Fan --- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/fs.h b/include/linux/fs.h index fd47deea7c17..3072a587a823 100644 --- a/include/linux/fs.h +++ b