diff options
author | Valentin Vidic <Valentin.Vidic@CARNet.hr> | 2017-04-26 12:48:31 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-28 11:45:49 +0200 |
commit | 6d27f590112f356310a853f3b7dc6843cd72f786 (patch) | |
tree | dd0c2a160e6806b523d924dc3002defc439400a9 | |
parent | 6c707d4febfb7bcc9628a38bc8e2d9b690486414 (diff) | |
download | linux-stable-6d27f590112f356310a853f3b7dc6843cd72f786.tar.gz linux-stable-6d27f590112f356310a853f3b7dc6843cd72f786.tar.bz2 linux-stable-6d27f590112f356310a853f3b7dc6843cd72f786.zip |
staging: lustre: remove void function return
All statements removed from the end of void functions
as reported by checkpatch.
Signed-off-by: Valentin Vidic <Valentin.Vidic@CARNet.hr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/lustre/lustre/lmv/lmv_obd.c | 1 | ||||
-rw-r--r-- | drivers/staging/lustre/lustre/lmv/lproc_lmv.c | 1 | ||||
-rw-r--r-- | drivers/staging/lustre/lustre/lov/lov_obd.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/lustre/lustre/lmv/lmv_obd.c b/drivers/staging/lustre/lustre/lmv/lmv_obd.c index 09b469243d73..732595125d8a 100644 --- a/drivers/staging/lustre/lustre/lmv/lmv_obd.c +++ b/drivers/staging/lustre/lustre/lmv/lmv_obd.c @@ -373,7 +373,6 @@ static void lmv_del_target(struct lmv_obd *lmv, int index) kfree(lmv->tgts[index]); lmv->tgts[index] = NULL; - return; } static int lmv_add_target(struct obd_device *obd, struct obd_uuid *uuidp, diff --git a/drivers/staging/lustre/lustre/lmv/lproc_lmv.c b/drivers/staging/lustre/lustre/lmv/lproc_lmv.c index ff458020b96a..bf25f887062d 100644 --- a/drivers/staging/lustre/lustre/lmv/lproc_lmv.c +++ b/drivers/staging/lustre/lustre/lmv/lproc_lmv.c @@ -91,7 +91,6 @@ static void *lmv_tgt_seq_start(struct seq_file *p, loff_t *pos) static void lmv_tgt_seq_stop(struct seq_file *p, void *v) { - return; } static void *lmv_tgt_seq_next(struct seq_file *p, void *v, loff_t *pos) diff --git a/drivers/staging/lustre/lustre/lov/lov_obd.c b/drivers/staging/lustre/lustre/lov/lov_obd.c index b3161fb6d4b5..25f15da6e189 100644 --- a/drivers/staging/lustre/lustre/lov/lov_obd.c +++ b/drivers/staging/lustre/lustre/lov/lov_obd.c @@ -68,7 +68,6 @@ static void lov_getref(struct obd_device *obd) mutex_lock(&lov->lov_lock); atomic_inc(&lov->lov_refcount); mutex_unlock(&lov->lov_lock); - return; } static void __lov_del_obd(struct obd_device *obd, struct lov_tgt_desc *tgt); |