tipc: some cleanups in the file discover.c
authorJon Maloy <jon.maloy@ericsson.com>
Thu, 22 Mar 2018 19:42:46 +0000 (20:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Mar 2018 17:12:17 +0000 (13:12 -0400)
commitb39e465e56ec38ca64b4c0affeb6411eb0ed7267
tree0666c2ef9a43d7ed07d75f05ffdfda202eb593da
parentcb30a63384bc91d5da06e1cede1115f666a29271
tipc: some cleanups in the file discover.c

To facilitate the coming changes in the neighbor discovery functionality
we make some renaming and refactoring of that code. The functional changes
in this commit are trivial, e.g., that we move the message sending call in
tipc_disc_timeout() outside the spinlock protected region.

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/bearer.c
net/tipc/bearer.h
net/tipc/discover.c
net/tipc/discover.h