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>
This commit is contained in:
parent
6c707d4feb
commit
6d27f59011
|
@ -373,7 +373,6 @@ static void lmv_del_target(struct lmv_obd *lmv, int index)
|
||||||
|
|
||||||
kfree(lmv->tgts[index]);
|
kfree(lmv->tgts[index]);
|
||||||
lmv->tgts[index] = NULL;
|
lmv->tgts[index] = NULL;
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int lmv_add_target(struct obd_device *obd, struct obd_uuid *uuidp,
|
static int lmv_add_target(struct obd_device *obd, struct obd_uuid *uuidp,
|
||||||
|
|
|
@ -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)
|
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)
|
static void *lmv_tgt_seq_next(struct seq_file *p, void *v, loff_t *pos)
|
||||||
|
|
|
@ -68,7 +68,6 @@ static void lov_getref(struct obd_device *obd)
|
||||||
mutex_lock(&lov->lov_lock);
|
mutex_lock(&lov->lov_lock);
|
||||||
atomic_inc(&lov->lov_refcount);
|
atomic_inc(&lov->lov_refcount);
|
||||||
mutex_unlock(&lov->lov_lock);
|
mutex_unlock(&lov->lov_lock);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __lov_del_obd(struct obd_device *obd, struct lov_tgt_desc *tgt);
|
static void __lov_del_obd(struct obd_device *obd, struct lov_tgt_desc *tgt);
|
||||||
|
|
Loading…
Reference in New Issue