aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/send.c
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-10-19 04:08:33 -0400
committerDavid S. Miller <davem@davemloft.net>2010-10-21 07:26:39 -0400
commitff51bf841587c75b58d25ed77263158619784dd3 (patch)
tree85d415536b84c48afe2aea0243f420ac262e1bbd /net/rds/send.c
parentd0c2b0d265a0f1f92922a99a31def9da582197ac (diff)
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>
Diffstat (limited to 'net/rds/send.c')
-rw-r--r--net/rds/send.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/rds/send.c b/net/rds/send.c
index 9b951a0ab6b7..0bc9db17a87d 100644
--- a/net/rds/send.c
+++ b/net/rds/send.c
@@ -52,6 +52,8 @@ static int send_batch_count = 64;
52module_param(send_batch_count, int, 0444); 52module_param(send_batch_count, int, 0444);
53MODULE_PARM_DESC(send_batch_count, " batch factor when working the send queue"); 53MODULE_PARM_DESC(send_batch_count, " batch factor when working the send queue");
54 54
55static void rds_send_remove_from_sock(struct list_head *messages, int status);
56
55/* 57/*
56 * Reset the send state. Callers must ensure that this doesn't race with 58 * Reset the send state. Callers must ensure that this doesn't race with
57 * rds_send_xmit(). 59 * rds_send_xmit().
@@ -555,7 +557,7 @@ EXPORT_SYMBOL_GPL(rds_send_get_message);
555 * removing the messages from the 'messages' list regardless of if it found 557 * removing the messages from the 'messages' list regardless of if it found
556 * the messages on the socket list or not. 558 * the messages on the socket list or not.
557 */ 559 */
558void rds_send_remove_from_sock(struct list_head *messages, int status) 560static void rds_send_remove_from_sock(struct list_head *messages, int status)
559{ 561{
560 unsigned long flags; 562 unsigned long flags;
561 struct rds_sock *rs = NULL; 563 struct rds_sock *rs = NULL;