Whamcloud - gitweb
LU-8587 osp: Remove unused osp_max_pages_per_rpc 72/24572/6
authorOleg Drokin <oleg.drokin@intel.com>
Wed, 26 Apr 2017 06:04:45 +0000 (02:04 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 1 May 2017 17:50:15 +0000 (17:50 +0000)
It was never added to be seen from proc and in fact it is
completely unused anyway, so just remove it and the
osp_max_pages_per_rpc_seq_show function.

Change-Id: I4d0c582e4d48daff29795e95a7c8fa1f24340766
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: https://review.whamcloud.com/24572
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/osp/lproc_osp.c

index 565afd9..91616cb 100644 (file)
@@ -726,19 +726,6 @@ LPROC_SEQ_FOPS_RO_TYPE(osp, connect_flags);
 LPROC_SEQ_FOPS_RO_TYPE(osp, server_uuid);
 LPROC_SEQ_FOPS_RO_TYPE(osp, conn_uuid);
 
-/**
- * Show maximum pages per bulk RPC
- *
- * \param[in] m                seq_file handle
- * \param[in] data     unused for single entry
- * \retval             0 on success
- * \retval             negative number on error
- */
-static int osp_max_pages_per_rpc_seq_show(struct seq_file *m, void *v)
-{
-       return lprocfs_obd_max_pages_per_rpc_seq_show(m, m->private);
-}
-LPROC_SEQ_FOPS_RO(osp_max_pages_per_rpc);
 LPROC_SEQ_FOPS_RO_TYPE(osp, timeouts);
 
 LPROC_SEQ_FOPS_RW_TYPE(osp, import);