X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Frxrpc%2Fpeer.c;h=ed38f5b17c1bd462ae25107322344fd7b5e201b0;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=e5c9f12d72db892dcaea0ae5d1282e9ddfa1c7a5;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/net/rxrpc/peer.c b/net/rxrpc/peer.c index e5c9f12d7..ed38f5b17 100644 --- a/net/rxrpc/peer.c +++ b/net/rxrpc/peer.c @@ -30,6 +30,8 @@ LIST_HEAD(rxrpc_peers); DECLARE_RWSEM(rxrpc_peers_sem); unsigned long rxrpc_peer_timeout = 12 * 60 * 60; +static void rxrpc_peer_do_timeout(struct rxrpc_peer *peer); + static void __rxrpc_peer_timeout(rxrpc_timer_t *timer) { struct rxrpc_peer *peer = @@ -259,7 +261,7 @@ void rxrpc_put_peer(struct rxrpc_peer *peer) * handle a peer timing out in the graveyard * - called from krxtimod */ -void rxrpc_peer_do_timeout(struct rxrpc_peer *peer) +static void rxrpc_peer_do_timeout(struct rxrpc_peer *peer) { struct rxrpc_transport *trans = peer->trans;