diff options
author | Allan Stephens <Allan.Stephens@windriver.com> | 2010-11-30 13:01:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-02 22:34:06 +0100 |
commit | b924dcf0038b8f83e65b44f679ad480d44f85aa6 (patch) | |
tree | 35efb719aa88def31d7acab12e99e97c07b11f3c /net/tipc/socket.c | |
parent | tipc: Eliminate obsolete native API forwarding routines (diff) | |
download | linux-b924dcf0038b8f83e65b44f679ad480d44f85aa6.tar.xz linux-b924dcf0038b8f83e65b44f679ad480d44f85aa6.zip |
tipc: Delete tipc_ownidentity()
Moves the content of the native API routine tipc_ownidentity() into the
sole routine that calls it, since it can no longer be called in isolation.
Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/socket.c')
-rw-r--r-- | net/tipc/socket.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/tipc/socket.c b/net/tipc/socket.c index 34f96eda5fa3..cd0bb77f2673 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c @@ -403,7 +403,8 @@ static int get_name(struct socket *sock, struct sockaddr *uaddr, addr->addr.id.ref = tsock->peer_name.ref; addr->addr.id.node = tsock->peer_name.node; } else { - tipc_ownidentity(tsock->p->ref, &addr->addr.id); + addr->addr.id.ref = tsock->p->ref; + addr->addr.id.node = tipc_own_addr; } *uaddr_len = sizeof(*addr); |