]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: remove active flag from tipc_bearer structure
authorYing Xue <ying.xue@windriver.com>
Thu, 27 Mar 2014 04:54:34 +0000 (12:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Mar 2014 17:08:37 +0000 (13:08 -0400)
commitb0c3daf2f1af5bf93dbcd4e1d71ea578d3dbf809
tree93689afb676155b5f71aee2cc91423cde9e56c76
parent4ddf236bb10e95dc434430a2255cd958141241fc
tipc: remove active flag from tipc_bearer structure

After the allocation of tipc_bearer structure instance is converted
from statical way to dynamical way, we identify whether a certain
tipc_bearer structure pointer is valid by checking whether the pointer
is NULL or not. So the active flag in tipc_bearer structure becomes
redundant.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bcast.c
net/tipc/bearer.c
net/tipc/bearer.h
net/tipc/link.c