]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Relocate trivial link status functions to header file
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 11 May 2010 14:30:11 +0000 (14:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 May 2010 06:02:24 +0000 (23:02 -0700)
commit8c5ecd2303a8e8c43200281d90ae3aaf6423ff90
treeab5ac9e161298795006b85a53eb9354a1605d3a0
parent9a4482f65fdfd2c67464f22ca7dc6931e3c79ca1
tipc: Relocate trivial link status functions to header file

Rather than live in link.c where they can only be used in that file alone,
these helper routines are better served by being in link.h

Relocated are the following:

link_working_working
link_working_unknown
link_reset_unknown
link_reset_reset
link_blocked
link_congested

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/discover.c
net/tipc/link.c
net/tipc/link.h