Get rid of deque (poor memory allocation), switch them over to lists.
Beware that using size() on a list is a O(n) operation. dev/ns_gige.hh: Remove typedefs that (I assume) were copied over from etherdev.hh. They were unused in the ns_gige code. --HG-- extra : convert_revision : 577954ec26b899bd6329ce6a4aaa1d9b0ba4f34c
This commit is contained in:
parent
d6a330ebb9
commit
dd11b2c4ff
1 changed files with 0 additions and 3 deletions
|
@ -170,9 +170,6 @@ class NSGigE : public PciDev
|
|||
static const Addr size = sizeof(dp_regs);
|
||||
|
||||
protected:
|
||||
typedef std::deque<PacketPtr> pktbuf_t;
|
||||
typedef pktbuf_t::iterator pktiter_t;
|
||||
|
||||
/** device register file */
|
||||
dp_regs regs;
|
||||
dp_rom rom;
|
||||
|
|
Loading…
Reference in a new issue