Get rid of dead code from GTNetS
authorRaj Bhattacharjea <raj.b@gatech.edu>
Fri, 30 May 2008 15:31:50 -0400
changeset 3247 05e66ff64e10
parent 3246 d734f62d4921
child 3248 39f736210ab2
Get rid of dead code from GTNetS
src/internet-node/pending-data.cc
--- a/src/internet-node/pending-data.cc	Fri May 30 15:14:38 2008 -0400
+++ b/src/internet-node/pending-data.cc	Fri May 30 15:31:50 2008 -0400
@@ -34,21 +34,6 @@
 namespace ns3
 {
 
-namespace Serializable
-{
-  uint8_t* GetSize (uint8_t* b, uint32_t& r, uint32_t& s)
-  { // Get the size of the next size field
-    if (sizeof(s) > r)
-    {
-      NS_FATAL_ERROR ("Serialization error; remaining " << r
-           << " thissize " << sizeof(s) << std::endl);
-    }
-    r -= sizeof (s); // Reduce remaining for next time
-    memcpy (&s, b, sizeof(s));
-    return b + sizeof (s);
-  }
-}
-
 PendingData::PendingData () : size (0), data (0),
                msgSize (0), responseSize (0)
 {