* [PATCH v1] userfaultfd: remove wrong comment from userfaultfd_ctx_get()
@ 2017-03-09 15:08 David Hildenbrand
0 siblings, 0 replies; only message in thread
From: David Hildenbrand @ 2017-03-09 15:08 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-mm, david, Andrea Arcangeli, Andrew Morton
It's a void function, so there is no return value;
Signed-off-by: David Hildenbrand <david@redhat.com>
---
fs/userfaultfd.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/fs/userfaultfd.c b/fs/userfaultfd.c
index 9fd5e51..2bb1c72 100644
--- a/fs/userfaultfd.c
+++ b/fs/userfaultfd.c
@@ -138,8 +138,6 @@ static int userfaultfd_wake_function(wait_queue_t *wq, unsigned mode,
* 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)
{
--
2.9.3
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-09 15:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-09 15:08 [PATCH v1] userfaultfd: remove wrong comment from userfaultfd_ctx_get() David Hildenbrand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).