Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1596140 > unrolled thread
| Started by | David Hildenbrand <david@redhat.com> |
|---|---|
| First post | 2017-03-09 16:10 +0100 |
| Last post | 2017-03-09 16:10 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH v1] userfaultfd: remove wrong comment from userfaultfd_ctx_get() David Hildenbrand <david@redhat.com> - 2017-03-09 16:10 +0100
| From | David Hildenbrand <david@redhat.com> |
|---|---|
| Date | 2017-03-09 16:10 +0100 |
| Subject | [PATCH v1] userfaultfd: remove wrong comment from userfaultfd_ctx_get() |
| Message-ID | <tj7Rw-6TG-13@gated-at.bofh.it> |
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
Back to top | Article view | linux.kernel
csiph-web