From 44f231436e0a5a9d7454b45ea23bcdd0f0d47a22 Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Wed, 26 Apr 2017 02:04:45 -0400 Subject: [PATCH] LU-8587 osp: Remove unused osp_max_pages_per_rpc 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 Reviewed-on: https://review.whamcloud.com/24572 Reviewed-by: Andreas Dilger Reviewed-by: James Simmons Reviewed-by: Dmitry Eremin Tested-by: Jenkins Tested-by: Maloo --- lustre/osp/lproc_osp.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lustre/osp/lproc_osp.c b/lustre/osp/lproc_osp.c index 565afd9..91616cb 100644 --- a/lustre/osp/lproc_osp.c +++ b/lustre/osp/lproc_osp.c @@ -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); -- 1.8.3.1