summaryrefslogtreecommitdiff
path: root/net/tipc/eth_media.c
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2013-12-10 20:45:44 -0800
committerDavid S. Miller <davem@davemloft.net>2013-12-11 00:17:43 -0500
commit77a7e07a78a44d6c015fa8447ab84bcdb360e35d (patch)
treee260a6a80b68dc854662630fecd3b37ec28a54d7 /net/tipc/eth_media.c
parente4d050cbf7720d8bcc781f4ef557d37ed148a5c4 (diff)
tipc: remove unused 'blocked' flag from tipc_link struct
In early versions of TIPC it was possible to administratively block individual links through the use of the member flag 'blocked'. This functionality was deemed redundant, and since commit 7368dd ("tipc: clean out all instances of #if 0'd unused code"), this flag has been unused. In the current code, a link only needs to be blocked for sending and reception if it is subject to an ongoing link failover. In that case, it is sufficient to check if the number of expected failover packets is non-zero, something which is done via the funtion 'link_blocked()'. This commit finally removes the redundant 'blocked' flag completely. Signed-off-by: Ying Xue <ying.xue@windriver.com> Reviewed-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/eth_media.c')
0 files changed, 0 insertions, 0 deletions