[Sumover-dev] [svn commit] r4299 - vic/branches/cc/rtp
sumover-dev at cs.ucl.ac.uk
sumover-dev at cs.ucl.ac.uk
Thu Oct 16 21:53:09 BST 2008
Author: soohyunc
Date: Thu Oct 16 21:53:08 2008
New Revision: 4299
Modified:
vic/branches/cc/rtp/transmitter.cpp
vic/branches/cc/rtp/transmitter.h
Log:
removed unnecessary pointer declaration
(pb_ is not used anywhere else)
Modified: vic/branches/cc/rtp/transmitter.cpp
==============================================================================
--- vic/branches/cc/rtp/transmitter.cpp (original)
+++ vic/branches/cc/rtp/transmitter.cpp Thu Oct 16 21:53:08 2008
@@ -231,9 +231,6 @@
tail_ = head_ = pb;
pb->next = 0;
}
-
- // record the local pb pointer to the global location
- pb_ = pb;
}
// CC is not active, so just go for the normal operation
else {
Modified: vic/branches/cc/rtp/transmitter.h
==============================================================================
--- vic/branches/cc/rtp/transmitter.h (original)
+++ vic/branches/cc/rtp/transmitter.h Thu Oct 16 21:53:08 2008
@@ -86,7 +86,7 @@
void flush();
void send(pktbuf*);
inline bool is_cc_on() { return is_cc_active_; }
- inline pktbuf* get_packet_queue() { return pb_;}
+
/*
* Buffer allocation hooks.
*/
@@ -116,7 +116,6 @@
int busy_;
pktbuf* head_;
pktbuf* tail_;
- pktbuf* pb_;
int loop_layer_; /* # of layers to loop back (for testing) */
More information about the Sumover-dev
mailing list