summaryrefslogtreecommitdiff
path: root/fs/userfaultfd.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2017-03-10 03:17:40 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2017-03-10 04:01:10 +0300
commit2378cd6181edd94748d699448823609977283b11 (patch)
treebfa11d39ae423a09e10516e097dc2b1a0596384a /fs/userfaultfd.c
parentc0d0e351285161a515396b7b1ee53ec9ffd97e3c (diff)
downloadlinux-2378cd6181edd94748d699448823609977283b11.tar.xz
userfaultfd: remove wrong comment from userfaultfd_ctx_get()
It's a void function, so there is no return value; Link: http://lkml.kernel.org/r/20170309150817.7510-1-david@redhat.com Signed-off-by: David Hildenbrand <david@redhat.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/userfaultfd.c')
-rw-r--r--fs/userfaultfd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/userfaultfd.c b/fs/userfaultfd.c
index 9fd5e51ffb31..2bb1c72380f2 100644
--- a/fs/userfaultfd.c
+++ b/fs/userfaultfd.c
@@ -138,8 +138,6 @@ out:
* userfaultfd_ctx_get - Acquires a reference to the internal userfaultfd
* context.
* @ctx: [in] Pointer to the userfaultfd context.
- *
- * Returns: In case of success, returns not zero.
*/
static void userfaultfd_ctx_get(struct userfaultfd_ctx *ctx)
{