]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: lustre: Delete an unnecessary variable initialisation in mgc_process_recover...
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 21 Dec 2015 17:24:45 +0000 (18:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 23:49:06 +0000 (15:49 -0800)
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>
drivers/staging/lustre/lustre/mgc/mgc_request.c

index 06dc2c3d36c290f3ec4d79c34827dd4010617900..ab4800c20a95a967f05e3270cfcec0f554705360 100644 (file)
@@ -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;