mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alberto Pires de Oliveira Neto <mrpenguin2005@gmail.com>
To: oleg.drokin@intel.com, andreas.dilger@intel.com,
	gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org,
	Alberto Pires de Oliveira Neto <mrpenguin2005@gmail.com>
Subject: [PATCH 2/3] staging: lustre: void function return statements are not generally useful.
Date: Sun,  8 Mar 2015 17:43:24 -0300	[thread overview]
Message-ID: <29f8c2d71758f30eaa7cf30cb1285f0e468483c8.1425845842.git.mrpenguin2005@gmail.com> (raw)
In-Reply-To: <cover.1425845842.git.mrpenguin2005@gmail.com>
In-Reply-To: <cover.1425845842.git.mrpenguin2005@gmail.com>

This patch fixes checkpatch.pl warning.
WARNING: void function return statements are not generally useful

Signed-off-by: Alberto Pires de Oliveira Neto <mrpenguin2005@gmail.com>
---
 drivers/staging/lustre/lustre/fld/fld_request.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/lustre/lustre/fld/fld_request.c b/drivers/staging/lustre/lustre/fld/fld_request.c
index 22e0d94..6ac225e 100644
--- a/drivers/staging/lustre/lustre/fld/fld_request.c
+++ b/drivers/staging/lustre/lustre/fld/fld_request.c
@@ -326,7 +326,6 @@ static int fld_client_proc_init(struct lu_client_fld *fld)
 
 void fld_client_proc_fini(struct lu_client_fld *fld)
 {
-	return;
 }
 #endif
 EXPORT_SYMBOL(fld_client_proc_fini);
-- 
1.9.1


  parent reply	other threads:[~2015-03-08 20:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-08 20:43 [PATCH 0/3] staging: lustre: Fix checkpatch.pl warnings Alberto Pires de Oliveira Neto
2015-03-08 20:43 ` [PATCH 1/3] staging: lustre: space prohibited between function name and open parenthesis '(' Alberto Pires de Oliveira Neto
2015-03-08 20:43 ` Alberto Pires de Oliveira Neto [this message]
2015-03-08 20:43 ` [PATCH 3/3] staging: lustre: space required after that close brace '}' Alberto Pires de Oliveira Neto
2015-03-08 20:53   ` Joe Perches
2015-03-08 22:04     ` Alberto Pires de Oliveira Neto
2015-03-08 22:07       ` Joe Perches
2015-03-08 22:22         ` Alberto Pires de Oliveira Neto
2015-03-08 22:59     ` Alberto Pires de Oliveira Neto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29f8c2d71758f30eaa7cf30cb1285f0e468483c8.1425845842.git.mrpenguin2005@gmail.com \
    --to=mrpenguin2005@gmail.com \
    --cc=andreas.dilger@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg.drokin@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®