tipc: save sock structure pointer instead of void pointer to tipc_port
authorYing Xue <ying.xue@windriver.com>
Mon, 17 Jun 2013 14:54:46 +0000 (10:54 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jun 2013 22:53:01 +0000 (15:53 -0700)
commitc0fee8aca7206264d5e3dcc4e60aaf86501f4ea1
tree2e58d96d9afd483a5aaf9711360bd5d82fa3cd76
parent28e5297281ab85d636aa814a9b65cfb99375d092
tipc: save sock structure pointer instead of void pointer to tipc_port

Directly save sock structure pointer instead of void pointer to avoid
unnecessary cast conversions.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/port.c
net/tipc/port.h
net/tipc/socket.c