From 55f00394c1e3301d294383e0314ae3944ab10399 Mon Sep 17 00:00:00 2001
From: Erik Ekman <erik.ekman@verisure.com>
Date: Thu, 28 May 2015 13:55:48 +0200
Subject: [PATCH 2/6] test_tcp_oos: Remove unused method tcp_oos_pbuf_count()

---
 test/unit/tcp/test_tcp_oos.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/test/unit/tcp/test_tcp_oos.c b/test/unit/tcp/test_tcp_oos.c
index 269e151..7236df5 100644
--- a/test/unit/tcp/test_tcp_oos.c
+++ b/test/unit/tcp/test_tcp_oos.c
@@ -36,18 +36,6 @@ static int tcp_oos_count(struct tcp_pcb* pcb)
   return num;
 }
 
-/** Get the numbers of pbufs on the ooseq list */
-static int tcp_oos_pbuf_count(struct tcp_pcb* pcb)
-{
-  int num = 0;
-  struct tcp_seg* seg = pcb->ooseq;
-  while(seg != NULL) {
-    num += pbuf_clen(seg->p);
-    seg = seg->next;
-  }
-  return num;
-}
-
 /** Get the seqno of a segment (by index) on the ooseq list
  *
  * @param pcb the pcb to check for ooseq segments
-- 
2.3.6

