summaryrefslogtreecommitdiffstats
path: root/net/tipc/bearer.c
diff options
context:
space:
mode:
authorAllan Stephens2011-05-30 21:43:02 +0200
committerPaul Gortmaker2011-06-24 22:18:16 +0200
commitf01a2b6378f757727b205419b677d45edfcc5a3b (patch)
treef445c022a6ff5cc6ea4818e8a5e40b23a0a1673a /net/tipc/bearer.c
parenttipc: Correct typo in link statistics output (diff)
downloadkernel-qcow2-linux-f01a2b6378f757727b205419b677d45edfcc5a3b.tar.gz
kernel-qcow2-linux-f01a2b6378f757727b205419b677d45edfcc5a3b.tar.xz
kernel-qcow2-linux-f01a2b6378f757727b205419b677d45edfcc5a3b.zip
tipc: Eliminate unused field in bearer structure
Gets rid of counter that records the number of times a bearer has resumed after congestion or blocking, since the value is never referenced anywhere. Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/bearer.c')
-rw-r--r--net/tipc/bearer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/tipc/bearer.c b/net/tipc/bearer.c
index 85209eadfae6..85eba9c08ee9 100644
--- a/net/tipc/bearer.c
+++ b/net/tipc/bearer.c
@@ -402,7 +402,6 @@ void tipc_bearer_lock_push(struct tipc_bearer *b_ptr)
void tipc_continue(struct tipc_bearer *b_ptr)
{
spin_lock_bh(&b_ptr->lock);
- b_ptr->continue_count++;
if (!list_empty(&b_ptr->cong_links))
tipc_k_signal((Handler)tipc_bearer_lock_push, (unsigned long)b_ptr);
b_ptr->blocked = 0;