These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / staging / lustre / lustre / mgc / lproc_mgc.c
index c4ea38e..8d5bc5a 100644 (file)
@@ -40,7 +40,6 @@
 #include "../include/lprocfs_status.h"
 #include "mgc_internal.h"
 
-LPROC_SEQ_FOPS_RO_TYPE(mgc, uuid);
 LPROC_SEQ_FOPS_RO_TYPE(mgc, connect_flags);
 LPROC_SEQ_FOPS_RO_TYPE(mgc, server_uuid);
 LPROC_SEQ_FOPS_RO_TYPE(mgc, conn_uuid);
@@ -53,10 +52,10 @@ static int mgc_ir_state_seq_show(struct seq_file *m, void *v)
 {
        return lprocfs_mgc_rd_ir_state(m, m->private);
 }
+
 LPROC_SEQ_FOPS_RO(mgc_ir_state);
 
 static struct lprocfs_vars lprocfs_mgc_obd_vars[] = {
-       { "uuid",            &mgc_uuid_fops,      NULL, 0 },
        { "ping",            &mgc_ping_fops,      NULL, 0222 },
        { "connect_flags",   &mgc_connect_flags_fops, NULL, 0 },
        { "mgs_server_uuid", &mgc_server_uuid_fops,   NULL, 0 },
@@ -67,14 +66,7 @@ static struct lprocfs_vars lprocfs_mgc_obd_vars[] = {
        { NULL }
 };
 
-LPROC_SEQ_FOPS_RO_TYPE(mgc, numrefs);
-static struct lprocfs_vars lprocfs_mgc_module_vars[] = {
-       { "num_refs",   &mgc_numrefs_fops,       NULL, 0 },
-       { NULL }
-};
-
 void lprocfs_mgc_init_vars(struct lprocfs_static_vars *lvars)
 {
-       lvars->module_vars = lprocfs_mgc_module_vars;
        lvars->obd_vars    = lprocfs_mgc_obd_vars;
 }