Whamcloud - gitweb
LU-16518 mgc: remove mne_swab from mgc_process_nodemap_log() 50/58350/3
authorTimothy Day <timday@amazon.com>
Sat, 8 Mar 2025 21:53:33 +0000 (16:53 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 26 Mar 2025 04:02:14 +0000 (04:02 +0000)
mne_swab is no longer used and can be removed.

Fixes: 41610e6207ef ("LU-8837 mgc: move server-only code out of mgc_request.c")
Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I86f966ba03fcfcec7d91952cc126c1a008c5e26f
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58350
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mgc/mgc_request_server.c

index dbe3657..456b54a 100644 (file)
@@ -288,7 +288,6 @@ int mgc_process_nodemap_log(struct obd_device *obd,
        u8 nodemap_cur_pass = 0;
        int nrpages = 0;
        bool eof = true;
-       bool mne_swab = false;
        int i;
        int ealen;
        int rc;
@@ -393,8 +392,6 @@ again:
                GOTO(out, rc);
        }
 
-       mne_swab = req_capsule_rep_need_swab(&req->rq_pill);
-
        /* When a nodemap config is received, we build a new nodemap config,
         * with new nodemap structs. We keep track of the most recently added
         * nodemap since the config is read ordered by nodemap_id, and so it