diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2015-12-21 18:24:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-21 15:49:06 -0800 |
commit | 24a386334f62b1f4e5f6209e8bbc0168168ba441 (patch) | |
tree | 528e98e8db9baecb2277967b5a635062c90cd448 /drivers/staging/lustre/lustre/mgc | |
parent | staging: lustre: Delete unnecessary goto statements in six functions (diff) | |
download | linux-dev-24a386334f62b1f4e5f6209e8bbc0168168ba441.tar.xz linux-dev-24a386334f62b1f4e5f6209e8bbc0168168ba441.zip |
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>
Diffstat (limited to 'drivers/staging/lustre/lustre/mgc')
-rw-r--r-- | drivers/staging/lustre/lustre/mgc/mgc_request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/mgc/mgc_request.c b/drivers/staging/lustre/lustre/mgc/mgc_request.c index 06dc2c3d36c2..ab4800c20a95 100644 --- a/drivers/staging/lustre/lustre/mgc/mgc_request.c +++ b/drivers/staging/lustre/lustre/mgc/mgc_request.c @@ -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; |