mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
12bae479ee
commit
b924dcf003
3 changed files with 2 additions and 10 deletions
|
@ -983,13 +983,6 @@ int tipc_createport(u32 user_ref,
|
|||
return 0;
|
||||
}
|
||||
|
||||
int tipc_ownidentity(u32 ref, struct tipc_portid *id)
|
||||
{
|
||||
id->ref = ref;
|
||||
id->node = tipc_own_addr;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int tipc_portimportance(u32 ref, unsigned int *importance)
|
||||
{
|
||||
struct port *p_ptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue