Whamcloud - gitweb
LU-2800 autoconf: remove LC_PROCFS_USERS test
[fs/lustre-release.git] / lustre / lov / lproc_lov.c
index 1c5839c..850bb39 100644 (file)
@@ -252,12 +252,10 @@ static int lov_target_seq_open(struct inode *inode, struct file *file)
         struct seq_file *seq;
         int rc;
 
-        LPROCFS_ENTRY_AND_CHECK(dp);
+       LPROCFS_ENTRY_CHECK(dp);
         rc = seq_open(file, &lov_tgt_sops);
-        if (rc) {
-                LPROCFS_EXIT();
+       if (rc)
                 return rc;
-        }
 
         seq = file->private_data;
         seq->private = dp->data;