Skip to contentSkip to conversation

userfaultfd: remove wrong comment from userfaultfd_ctx_get()

PATCH Applied David Hildenbrand 1 participant 1 message Mar 9, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 userfaultfd: remove wrong comment from userfaultfd_ctx_get()

It's a void function, so there is no return value;

---
 fs/userfaultfd.c | 2 --
 1 file changed, 2 deletions(-)
fs/userfaultfd.c +0 -2
index 9fd5e51..2bb1c72 100644
@@ -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)
 {
Signature · 7 lines
2.9.3

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>