]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Remove unneeded parameter to tipc_createport_raw()
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 15 Jul 2008 05:42:19 +0000 (22:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jul 2008 05:42:19 +0000 (22:42 -0700)
commit3781bf04d4af3247bb0716c80b27d501184dc4d1
tree3cfa3e72bae112b76d5810bd55a9610b29e42f26
parent914633f7a4e7cd5395f6d808d7eb8ccfb965a2c9
tipc: Remove unneeded parameter to tipc_createport_raw()

This patch eliminates an unneeded parameter when creating a low-level
TIPC port object.  Instead of returning both the pointer to the port
structure and the port's reference ID, it now returns only the pointer
since the port structure contains the reference ID as one of its fields.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tipc/tipc_port.h
net/tipc/port.c
net/tipc/socket.c