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>
This commit is contained in:
committed by
David S. Miller
parent
d0c2b0d265
commit
ff51bf8415
@ -272,7 +272,8 @@ out:
|
||||
}
|
||||
|
||||
/* the caller has to hold the sock lock */
|
||||
int rds_tcp_read_sock(struct rds_connection *conn, gfp_t gfp, enum km_type km)
|
||||
static int rds_tcp_read_sock(struct rds_connection *conn, gfp_t gfp,
|
||||
enum km_type km)
|
||||
{
|
||||
struct rds_tcp_connection *tc = conn->c_transport_data;
|
||||
struct socket *sock = tc->t_sock;
|
||||
|
Reference in New Issue
Block a user