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
@@ -88,7 +88,7 @@ static struct rds_connection *rds_conn_lookup(struct hlist_head *head,
|
||||
* and receiving over this connection again in the future. It is up to
|
||||
* the transport to have serialized this call with its send and recv.
|
||||
*/
|
||||
void rds_conn_reset(struct rds_connection *conn)
|
||||
static void rds_conn_reset(struct rds_connection *conn)
|
||||
{
|
||||
rdsdebug("connection %pI4 to %pI4 reset\n",
|
||||
&conn->c_laddr, &conn->c_faddr);
|
||||
|
Reference in New Issue
Block a user