userfaultfd: remove wrong comment from userfaultfd_ctx_get()
Subsystems (2)
PATCH 1/1 userfaultfd: remove wrong comment from userfaultfd_ctx_get()
It's a void function, so there is no return value;
Signed-off-by David Hildenbrand <[email protected]>
--- fs/userfaultfd.c | 2 -- 1 file changed, 2 deletions(-)
fs/userfaultfd.c +0 -2
@@ -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>