mem: Remove unused type BlkList from the cache and the tags
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Tue, 21 Feb 2017 14:14:44 +0000 (14:14 +0000)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Tue, 21 Feb 2017 14:14:44 +0000 (14:14 +0000)
Change-Id: If9ebb8488e8db587482ecfa99d2c12cfe5734fb9
Reviewed-by: Andreas Hansson <andreas.hansson@arm.com>
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
src/mem/cache/cache.hh
src/mem/cache/tags/base_set_assoc.hh
src/mem/cache/tags/fa_lru.hh

index 7f9130d620e8655bd32847e256452475490a01c7..e5c8ab61f581acd59995746a59140ffbb83ccfaa 100644 (file)
@@ -73,11 +73,6 @@ class BasePrefetcher;
  */
 class Cache : public BaseCache
 {
-  public:
-
-    /** A typedef for a list of CacheBlk pointers. */
-    typedef std::list<CacheBlk*> BlkList;
-
   protected:
 
     /**
index 40ff5ca5d15abf6cf064ad55a521d8cbe2c9bc35..12be0720670aa834be0812695212fed3ebfc8b5e 100644 (file)
@@ -78,8 +78,6 @@ class BaseSetAssoc : public BaseTags
   public:
     /** Typedef the block type used in this tag store. */
     typedef CacheBlk BlkType;
-    /** Typedef for a list of pointers to the local block class. */
-    typedef std::list<BlkType*> BlkList;
     /** Typedef the set type used in this tag store. */
     typedef CacheSet<CacheBlk> SetType;
 
index 49f10a0aa4cde9a1e106e4877d25c50c167c6104..89e15d83ee40a0e9da344d64dda59b8b87137d3a 100644 (file)
@@ -90,8 +90,6 @@ class FALRU : public BaseTags
   public:
     /** Typedef the block type used in this class. */
     typedef FALRUBlk BlkType;
-    /** Typedef a list of pointers to the local block type. */
-    typedef std::list<FALRUBlk*> BlkList;
 
   protected:
     /** Array of pointers to blocks at the cache size  boundaries. */