From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754989AbdCIPIW (ORCPT ); Thu, 9 Mar 2017 10:08:22 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38840 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754706AbdCIPIV (ORCPT ); Thu, 9 Mar 2017 10:08:21 -0500 From: David Hildenbrand To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, david@redhat.com, Andrea Arcangeli , Andrew Morton Subject: [PATCH v1] userfaultfd: remove wrong comment from userfaultfd_ctx_get() Date: Thu, 9 Mar 2017 16:08:17 +0100 Message-Id: <20170309150817.7510-1-david@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 09 Mar 2017 15:08:21 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It's a void function, so there is no return value; Signed-off-by: David Hildenbrand --- 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