mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 02:00:43 -04:00
staging: lustre: Remove unnecessary 'return'
Remove unnecessary void return at the end of a function. Issue detected by checkpatch. Signed-off-by: Rehas Sachdeva <aquannie@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
02c041c157
commit
994b48775a
@@ -667,7 +667,6 @@ static void ras_update_stride_detector(struct ll_readahead_state *ras,
|
||||
ras->ras_stride_length = stride_gap + ras->ras_consecutive_pages;
|
||||
|
||||
RAS_CDEBUG(ras);
|
||||
return;
|
||||
}
|
||||
|
||||
/* Stride Read-ahead window will be increased inc_len according to
|
||||
@@ -883,7 +882,6 @@ void ras_update(struct ll_sb_info *sbi, struct inode *inode,
|
||||
RAS_CDEBUG(ras);
|
||||
ras->ras_request_index++;
|
||||
spin_unlock(&ras->ras_lock);
|
||||
return;
|
||||
}
|
||||
|
||||
int ll_writepage(struct page *vmpage, struct writeback_control *wbc)
|
||||
|
||||
Reference in New Issue
Block a user