diff options
author | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2016-12-05 03:41:29 +0300 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2017-01-03 01:02:40 +0300 |
commit | bb7897631d2379ec198635cc24bf1e8c629d0bda (patch) | |
tree | 714d59f4ebde146b08209a6533b37ea3d676d57d /net/rds/tcp_listen.c | |
parent | f69b22e65ecfcb3648304e0e32a1df6f0d421375 (diff) | |
download | linux-bb7897631d2379ec198635cc24bf1e8c629d0bda.tar.xz |
RDS: mark few internal functions static to make sparse build happy
Fixes below warnings:
warning: symbol 'rds_send_probe' was not declared. Should it be static?
warning: symbol 'rds_send_ping' was not declared. Should it be static?
warning: symbol 'rds_tcp_accept_one_path' was not declared. Should it be static?
warning: symbol 'rds_walk_conn_path_info' was not declared. Should it be static?
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'net/rds/tcp_listen.c')
-rw-r--r-- | net/rds/tcp_listen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rds/tcp_listen.c b/net/rds/tcp_listen.c index f74bab3ecdca..67d0929c7d3d 100644 --- a/net/rds/tcp_listen.c +++ b/net/rds/tcp_listen.c @@ -79,6 +79,7 @@ bail: * smaller ip address, we recycle conns in RDS_CONN_ERROR on the passive side * by moving them to CONNECTING in this function. */ +static struct rds_tcp_connection *rds_tcp_accept_one_path(struct rds_connection *conn) { int i; |