]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/lustre/lustre/mgc/libmgc.c
staging: lustre: Remove braces for single statement in kernel_user_comm.c
[~andy/linux] / drivers / staging / lustre / lustre / mgc / libmgc.c
index 7b4947cec3a8247f77dfa4f95b664c1b4d474342..9b40c57d3cd4934b911d4ede4145e9a03c9cef38 100644 (file)
@@ -99,11 +99,8 @@ static int mgc_precleanup(struct obd_device *obd, enum obd_cleanup_stage stage)
 
 static int mgc_cleanup(struct obd_device *obd)
 {
-       struct client_obd *cli = &obd->u.cli;
        int rc;
 
-       LASSERT(cli->cl_mgc_vfsmnt == NULL);
-
        ptlrpcd_decref();
 
        rc = client_obd_cleanup(obd);