diff options
author | Allan Stephens <Allan.Stephens@windriver.com> | 2010-11-30 07:01:03 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-02 16:34:06 -0500 |
commit | b924dcf0038b8f83e65b44f679ad480d44f85aa6 (patch) | |
tree | 35efb719aa88def31d7acab12e99e97c07b11f3c /net/tipc/port.c | |
parent | 12bae479ee414f45ad8fe93530f5b6ea241bde3f (diff) |
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/port.c')
-rw-r--r-- | net/tipc/port.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/net/tipc/port.c b/net/tipc/port.c index 73f232c1fe1..7873283f496 100644 --- a/net/tipc/port.c +++ b/net/tipc/port.c | |||
@@ -983,13 +983,6 @@ int tipc_createport(u32 user_ref, | |||
983 | return 0; | 983 | return 0; |
984 | } | 984 | } |
985 | 985 | ||
986 | int tipc_ownidentity(u32 ref, struct tipc_portid *id) | ||
987 | { | ||
988 | id->ref = ref; | ||
989 | id->node = tipc_own_addr; | ||
990 | return 0; | ||
991 | } | ||
992 | |||
993 | int tipc_portimportance(u32 ref, unsigned int *importance) | 986 | int tipc_portimportance(u32 ref, unsigned int *importance) |
994 | { | 987 | { |
995 | struct port *p_ptr; | 988 | struct port *p_ptr; |