]> asedeno.scripts.mit.edu Git - linux.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)
commitc901d26d4a8137f3ad0e5865d331f7c63c42d9f9
tree89ff5b5f5fd1cb4f4c5c002cd2ada9353154d70d
parent27469b7352b5197cffa0e3dadb5f1127f055da27
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