From: Cesar Eduardo Barros Date: Tue, 22 Mar 2011 23:33:15 +0000 (-0700) Subject: sys_swapon: remove changelog from function comment X-Git-Tag: upstream/snapshot3+hdmi~11059 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=80b0df12b808bf8e8391afae1b43f5e529f76d89;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git sys_swapon: remove changelog from function comment Changelogs belong in the git history instead of in the source code. Also, "The swapon system call" is redundant with "SYSCALL_DEFINE2(swapon, ...)". Signed-off-by: Cesar Eduardo Barros Tested-by: Eric B Munson Acked-by: Eric B Munson Reviewed-by: Pekka Enberg Reviewed-by: Jesper Juhl Reviewed-by: KAMEZAWA Hiroyuki Cc: Hugh Dickins Signed-off-by: Andrew Morton [ Gaah. That's a _historical_ comment. But the patch-series depends on removal ] Signed-off-by: Linus Torvalds --- diff --git a/mm/swapfile.c b/mm/swapfile.c index 99eb5048..9714644 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c @@ -1844,11 +1844,6 @@ static int __init max_swapfiles_check(void) late_initcall(max_swapfiles_check); #endif -/* - * Written 01/25/92 by Simmule Turner, heavily changed by Linus. - * - * The swapon system call - */ SYSCALL_DEFINE2(swapon, const char __user *, specialfile, int, swap_flags) { struct swap_info_struct *p;