From dd11b2c4ffc9121faa7e6976bd211dbb595e9af0 Mon Sep 17 00:00:00 2001 From: Kevin Lim Date: Fri, 17 Feb 2006 15:07:48 -0500 Subject: [PATCH] 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 --- dev/ns_gige.hh | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.30.2