diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-10-19 04:08:33 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-21 07:26:39 -0400 |
commit | ff51bf841587c75b58d25ed77263158619784dd3 (patch) | |
tree | 85d415536b84c48afe2aea0243f420ac262e1bbd /net/rds/rds.h | |
parent | d0c2b0d265a0f1f92922a99a31def9da582197ac (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/rds.h')
-rw-r--r-- | net/rds/rds.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/rds/rds.h b/net/rds/rds.h index 8103dcf8b976..9542449c0720 100644 --- a/net/rds/rds.h +++ b/net/rds/rds.h | |||
@@ -619,7 +619,6 @@ struct rds_connection *rds_conn_create_outgoing(__be32 laddr, __be32 faddr, | |||
619 | struct rds_transport *trans, gfp_t gfp); | 619 | struct rds_transport *trans, gfp_t gfp); |
620 | void rds_conn_shutdown(struct rds_connection *conn); | 620 | void rds_conn_shutdown(struct rds_connection *conn); |
621 | void rds_conn_destroy(struct rds_connection *conn); | 621 | void rds_conn_destroy(struct rds_connection *conn); |
622 | void rds_conn_reset(struct rds_connection *conn); | ||
623 | void rds_conn_drop(struct rds_connection *conn); | 622 | void rds_conn_drop(struct rds_connection *conn); |
624 | void rds_conn_connect_if_down(struct rds_connection *conn); | 623 | void rds_conn_connect_if_down(struct rds_connection *conn); |
625 | void rds_for_each_conn_info(struct socket *sock, unsigned int len, | 624 | void rds_for_each_conn_info(struct socket *sock, unsigned int len, |
@@ -668,8 +667,6 @@ int rds_message_add_extension(struct rds_header *hdr, | |||
668 | unsigned int type, const void *data, unsigned int len); | 667 | unsigned int type, const void *data, unsigned int len); |
669 | int rds_message_next_extension(struct rds_header *hdr, | 668 | int rds_message_next_extension(struct rds_header *hdr, |
670 | unsigned int *pos, void *buf, unsigned int *buflen); | 669 | unsigned int *pos, void *buf, unsigned int *buflen); |
671 | int rds_message_add_version_extension(struct rds_header *hdr, unsigned int version); | ||
672 | int rds_message_get_version_extension(struct rds_header *hdr, unsigned int *version); | ||
673 | int rds_message_add_rdma_dest_extension(struct rds_header *hdr, u32 r_key, u32 offset); | 670 | int rds_message_add_rdma_dest_extension(struct rds_header *hdr, u32 r_key, u32 offset); |
674 | int rds_message_inc_copy_to_user(struct rds_incoming *inc, | 671 | int rds_message_inc_copy_to_user(struct rds_incoming *inc, |
675 | struct iovec *first_iov, size_t size); | 672 | struct iovec *first_iov, size_t size); |
@@ -706,7 +703,6 @@ void rds_page_exit(void); | |||
706 | /* recv.c */ | 703 | /* recv.c */ |
707 | void rds_inc_init(struct rds_incoming *inc, struct rds_connection *conn, | 704 | void rds_inc_init(struct rds_incoming *inc, struct rds_connection *conn, |
708 | __be32 saddr); | 705 | __be32 saddr); |
709 | void rds_inc_addref(struct rds_incoming *inc); | ||
710 | void rds_inc_put(struct rds_incoming *inc); | 706 | void rds_inc_put(struct rds_incoming *inc); |
711 | void rds_recv_incoming(struct rds_connection *conn, __be32 saddr, __be32 daddr, | 707 | void rds_recv_incoming(struct rds_connection *conn, __be32 saddr, __be32 daddr, |
712 | struct rds_incoming *inc, gfp_t gfp, enum km_type km); | 708 | struct rds_incoming *inc, gfp_t gfp, enum km_type km); |
@@ -728,7 +724,6 @@ void rds_send_drop_to(struct rds_sock *rs, struct sockaddr_in *dest); | |||
728 | typedef int (*is_acked_func)(struct rds_message *rm, uint64_t ack); | 724 | typedef int (*is_acked_func)(struct rds_message *rm, uint64_t ack); |
729 | void rds_send_drop_acked(struct rds_connection *conn, u64 ack, | 725 | void rds_send_drop_acked(struct rds_connection *conn, u64 ack, |
730 | is_acked_func is_acked); | 726 | is_acked_func is_acked); |
731 | void rds_send_remove_from_sock(struct list_head *messages, int status); | ||
732 | int rds_send_pong(struct rds_connection *conn, __be16 dport); | 727 | int rds_send_pong(struct rds_connection *conn, __be16 dport); |
733 | struct rds_message *rds_send_get_message(struct rds_connection *, | 728 | struct rds_message *rds_send_get_message(struct rds_connection *, |
734 | struct rm_rdma_op *); | 729 | struct rm_rdma_op *); |