Whamcloud - gitweb
LU-8056 lprocfs: treat seq_printf as void function
[fs/lustre-release.git] / lustre / ofd / lproc_ofd.c
index 281289c..c130194 100644 (file)
@@ -510,10 +510,9 @@ static int ofd_brw_size_seq_show(struct seq_file *m, void *data)
 {
        struct obd_device       *obd = m->private;
        struct ofd_device       *ofd = ofd_dev(obd->obd_lu_dev);
-       int                      rc;
 
-       rc = seq_printf(m, "%u\n", ofd->ofd_brw_size / ONE_MB_BRW_SIZE);
-       return rc;
+       seq_printf(m, "%u\n", ofd->ofd_brw_size / ONE_MB_BRW_SIZE);
+       return 0;
 }
 
 static ssize_t