From: Kevin Lim Date: Fri, 17 Feb 2006 20:07:48 +0000 (-0500) Subject: Get rid of deque (poor memory allocation), switch them over to lists. X-Git-Tag: m5_2.0_beta1~87^2~89^2~5 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd11b2c4ffc9121faa7e6976bd211dbb595e9af0;p=gem5.git 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 --- diff --git a/dev/ns_gige.hh b/dev/ns_gige.hh index b65626b7b..181837c8d 100644 --- a/dev/ns_gige.hh +++ b/dev/ns_gige.hh @@ -170,9 +170,6 @@ class NSGigE : public PciDev static const Addr size = sizeof(dp_regs); protected: - typedef std::deque pktbuf_t; - typedef pktbuf_t::iterator pktiter_t; - /** device register file */ dp_regs regs; dp_rom rom;