]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit069af4e800e893742e3c0c32f4e646e34417bd6e
tree2e58d96d9afd483a5aaf9711360bd5d82fa3cd76
parent28e80a48452a660b6f20dab9a87060386a72cce6
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