]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: simplify api between binding table and topology server
authorJon Maloy <jmaloy@redhat.com>
Wed, 17 Mar 2021 02:06:21 +0000 (22:06 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Mar 2021 18:51:05 +0000 (11:51 -0700)
commit351400ac31230e59bf9e5ae10b3d9a477b93ebe4
treec79962e62b7a54a3020291238b510febcd9d2a73
parent1054204e340f68d6bfd10e7f2012b94d2dece3bc
tipc: simplify api between binding table and topology server

The function tipc_report_overlap() is called from the binding table
with numerous parameters taken from an instance of struct publication.
A closer look reveals that it always is safe to send along a pointer
to the instance itself, and hence reduce the call signature. We do
that in this commit.

Signed-off-by: Jon Maloy <jmaloy@redhat.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Acked-by: Hoang Le <hoang.h.le@dektech.com.au>
Acked-by: Tung Nguyen <tung.q.nguyen@dektech.com.au>
Acked-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/name_table.c
net/tipc/subscr.c
net/tipc/subscr.h