mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 05:31:17 -04:00
staging: lustre: Delete an unnecessary variable initialisation in mgc_process_recover_log()
The variable "mne_swab" will eventually be set to an appropriate value from a call of the ptlrpc_rep_need_swab() function. Thus let us omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3af7370ca1
commit
24a386334f
@@ -1293,7 +1293,7 @@ static int mgc_process_recover_log(struct obd_device *obd,
|
||||
struct page **pages;
|
||||
int nrpages;
|
||||
bool eof = true;
|
||||
bool mne_swab = false;
|
||||
bool mne_swab;
|
||||
int i;
|
||||
int ealen;
|
||||
int rc;
|
||||
|
||||
Reference in New Issue
Block a user