rds: make local functions/variables static
The RDS protocol has lots of functions that should be declared static. rds_message_get/add_version_extension is removed since it defined but never used. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
这个提交包含在:
@@ -207,7 +207,7 @@ static void rds_rdma_listen_stop(void)
|
||||
}
|
||||
}
|
||||
|
||||
int rds_rdma_init(void)
|
||||
static int rds_rdma_init(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
@@ -234,7 +234,7 @@ out:
|
||||
}
|
||||
module_init(rds_rdma_init);
|
||||
|
||||
void rds_rdma_exit(void)
|
||||
static void rds_rdma_exit(void)
|
||||
{
|
||||
/* stop listening first to ensure no new connections are attempted */
|
||||
rds_rdma_listen_stop();
|
||||
|
在新工单中引用
屏蔽一个用户