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)
commit09f78b851ea332a67ebaf7b4463a80a4d0d3d747
treec79962e62b7a54a3020291238b510febcd9d2a73
parent6e44867b01e6998ce4c997dc7921d0fb157c3661
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