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>
This commit is contained in:
committed by
Linus Torvalds
parent
c0d0e35128
commit
2378cd6181
@@ -138,8 +138,6 @@ out:
|
|||||||
* userfaultfd_ctx_get - Acquires a reference to the internal userfaultfd
|
* userfaultfd_ctx_get - Acquires a reference to the internal userfaultfd
|
||||||
* context.
|
* context.
|
||||||
* @ctx: [in] Pointer to the 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)
|
static void userfaultfd_ctx_get(struct userfaultfd_ctx *ctx)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user