summaryrefslogtreecommitdiffstats
path: root/net/rds/ib_mr.h
diff options
context:
space:
mode:
authorZhu Yanjun <yanjun.zhu@oracle.com>2017-02-28 07:45:40 +0100
committerDavid S. Miller <davem@davemloft.net>2017-03-01 18:50:58 +0100
commit4f7bfb3982e02aacc5fb6e1a121e5326c1778ac3 (patch)
treef137556af09ed3a488fda0515c8536b6564eb1d4 /net/rds/ib_mr.h
parentsctp: call rcu_read_lock before checking for duplicate transport nodes (diff)
downloadlinux-4f7bfb3982e02aacc5fb6e1a121e5326c1778ac3.tar.xz
linux-4f7bfb3982e02aacc5fb6e1a121e5326c1778ac3.zip
rds: ib: add the static type to the variables
The variables rds_ib_mr_1m_pool_size and rds_ib_mr_8k_pool_size are used only in the ib.c file. As such, the static type is added to limit them in this file. Cc: Joe Jin <joe.jin@oracle.com> Cc: Junxiao Bi <junxiao.bi@oracle.com> Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/ib_mr.h')
-rw-r--r--net/rds/ib_mr.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/rds/ib_mr.h b/net/rds/ib_mr.h
index 24c086db4511..5d6e98a79a5e 100644
--- a/net/rds/ib_mr.h
+++ b/net/rds/ib_mr.h
@@ -107,8 +107,6 @@ struct rds_ib_mr_pool {
};
extern struct workqueue_struct *rds_ib_mr_wq;
-extern unsigned int rds_ib_mr_1m_pool_size;
-extern unsigned int rds_ib_mr_8k_pool_size;
extern bool prefer_frmr;
struct rds_ib_mr_pool *rds_ib_create_mr_pool(struct rds_ib_device *rds_dev,