tipc: Remove non-executable code to handle broadcast bearer congestion
Eliminates code associated with the sending of unsent broadcast link traffic when the broadcast pseudo-bearer becomes unblocked following a temporary congestion situation. This code is non-executable because the broadcast pseudo-bearer never becomes blocked [see tipc_bcbearer_send()]. Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
This commit is contained in:
committed by
Paul Gortmaker
parent
2ff9f924a5
commit
23f0ff906a
@@ -385,13 +385,9 @@ static int bearer_push(struct tipc_bearer *b_ptr)
|
||||
|
||||
void tipc_bearer_lock_push(struct tipc_bearer *b_ptr)
|
||||
{
|
||||
int res;
|
||||
|
||||
spin_lock_bh(&b_ptr->lock);
|
||||
res = bearer_push(b_ptr);
|
||||
bearer_push(b_ptr);
|
||||
spin_unlock_bh(&b_ptr->lock);
|
||||
if (res)
|
||||
tipc_bcbearer_push();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user