summaryrefslogtreecommitdiffstats
path: root/fs/userfaultfd.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2017-03-10 01:17:40 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2017-03-10 02:01:10 +0100
commit2378cd6181edd94748d699448823609977283b11 (patch)
treebfa11d39ae423a09e10516e097dc2b1a0596384a /fs/userfaultfd.c
parentfat: fix using uninitialized fields of fat_inode/fsinfo_inode (diff)
downloadlinux-2378cd6181edd94748d699448823609977283b11.tar.xz
linux-2378cd6181edd94748d699448823609977283b11.zip
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 '')
-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)
{