Whamcloud - gitweb
LU-3405 build: fix 'control flow' errors
[fs/lustre-release.git] / lustre / obdclass / obd_mount_server.c
index 9137219..ad35237 100644 (file)
@@ -985,13 +985,9 @@ static int server_stop_servers(int lsiflags)
        }
 
        if (obd != NULL && (type == NULL || type->typ_refcnt == 0)) {
-               int err;
-
                obd->obd_force = 1;
                /* obd_fail doesn't mean much on a server obd */
-               err = class_manual_cleanup(obd);
-               if (rc != 0)
-                       rc = err;
+               rc = class_manual_cleanup(obd);
        }
 
        mutex_unlock(&server_start_lock);