]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: lustre: remove void function return
authorValentin Vidic <Valentin.Vidic@CARNet.hr>
Wed, 26 Apr 2017 10:48:31 +0000 (12:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Apr 2017 09:45:49 +0000 (11:45 +0200)
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>
drivers/staging/lustre/lustre/lmv/lmv_obd.c
drivers/staging/lustre/lustre/lmv/lproc_lmv.c
drivers/staging/lustre/lustre/lov/lov_obd.c

index 09b469243d7316d01170f6ebb80c0d2625689bd5..732595125d8aaee5fd3da0470c4c38bb4dccde02 100644 (file)
@@ -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,
index ff458020b96aa6ddd6e3ed37222dc46b84548134..bf25f887062d779cbcbe6f708af0a366f3e38b89 100644 (file)
@@ -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)
index b3161fb6d4b5052718dadd57a05debded3c9b070..25f15da6e189cc95201564c25f616e9aa1d98938 100644 (file)
@@ -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);