]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: remove unnecessary function pointers
authorJon Maloy <jon.maloy@ericsson.com>
Thu, 15 Feb 2018 09:40:43 +0000 (10:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Feb 2018 20:26:33 +0000 (15:26 -0500)
commite9d91a6bcbd96fc2f39644eb1f55c2da6d602788
tree89ff5b5f5fd1cb4f4c5c002cd2ada9353154d70d
parentc05f6b548f13739f93a648a5804767554fff7c43
tipc: remove unnecessary function pointers

Interaction between the functionality in server.c and subscr.c is
done via function pointers installed in struct server. This makes
the code harder to follow, and doesn't serve any obvious purpose.

Here, we replace the function pointers with direct function calls.

Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/server.c
net/tipc/server.h
net/tipc/subscr.c
net/tipc/subscr.h