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
@@ -48,12 +48,11 @@ void rds_inc_init(struct rds_incoming *inc, struct rds_connection *conn,
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(rds_inc_init);
|
||||
|
||||
void rds_inc_addref(struct rds_incoming *inc)
|
||||
static void rds_inc_addref(struct rds_incoming *inc)
|
||||
{
|
||||
rdsdebug("addref inc %p ref %d\n", inc, atomic_read(&inc->i_refcount));
|
||||
atomic_inc(&inc->i_refcount);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(rds_inc_addref);
|
||||
|
||||
void rds_inc_put(struct rds_incoming *inc)
|
||||
{
|
||||
|
Reference in New Issue
Block a user