aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCesar Eduardo Barros <[email protected]>2011-03-22 16:33:15 -0700
committerLinus Torvalds <[email protected]>2011-03-22 17:44:05 -0700
commit80b0df12b808bf8e8391afae1b43f5e529f76d89 (patch)
tree1d71923d9e693f3dfb9dbc28b3ddcec80e6b2eff
parent803d0c8351b47b72b8b018457a33b342557b90a2 (diff)
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 <[email protected]> Tested-by: Eric B Munson <[email protected]> Acked-by: Eric B Munson <[email protected]> Reviewed-by: Pekka Enberg <[email protected]> Reviewed-by: Jesper Juhl <[email protected]> Reviewed-by: KAMEZAWA Hiroyuki <[email protected]> Cc: Hugh Dickins <[email protected]> Signed-off-by: Andrew Morton <[email protected]> [ Gaah. That's a _historical_ comment. But the patch-series depends on removal ] Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--mm/swapfile.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mm/swapfile.c b/mm/swapfile.c
index 99eb5048b7a8..971464470938 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;