trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject svn commit: r1101273 - /trafficserver/traffic/trunk/iocore/cache/Cache.cc
Date Mon, 09 May 2011 23:30:39 GMT
Author: zwoop
Date: Mon May  9 23:30:39 2011
New Revision: 1101273

URL: http://svn.apache.org/viewvc?rev=1101273&view=rev
Log:
Remove unused code

Modified:
    trafficserver/traffic/trunk/iocore/cache/Cache.cc

Modified: trafficserver/traffic/trunk/iocore/cache/Cache.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/iocore/cache/Cache.cc?rev=1101273&r1=1101272&r2=1101273&view=diff
==============================================================================
--- trafficserver/traffic/trunk/iocore/cache/Cache.cc (original)
+++ trafficserver/traffic/trunk/iocore/cache/Cache.cc Mon May  9 23:30:39 2011
@@ -185,16 +185,6 @@ cache_bytes_used(int volume)
   return used;
 }
 
-int64_t
-cache_bytes_total(void)
-{
-  int64_t total = 0;
-  for (int i = 0; i < gnvol; i++)
-    total += gvol[i]->len - vol_dirlen(gvol[i]) - EVACUATION_SIZE;
-
-  return total;
-}
-
 int
 cache_stats_bytes_used_cb(const char *name, RecDataT data_type, RecData *data, RecRawStatBlock
*rsb, int id)
 {



Mime
View raw message