You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2013/05/16 23:57:50 UTC

[31/47] git commit: Remove useless and broken #define

Remove useless and broken #define


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/338e865d
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/338e865d
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/338e865d

Branch: refs/heads/sphinx-docs
Commit: 338e865d26dcb72ef208a08bad17d4f14e79dbc1
Parents: 5aebfb6
Author: Alan M. Carroll <am...@network-geographics.com>
Authored: Tue May 14 09:43:00 2013 -0500
Committer: Alan M. Carroll <am...@network-geographics.com>
Committed: Tue May 14 09:43:00 2013 -0500

----------------------------------------------------------------------
 iocore/cache/P_CacheDir.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/338e865d/iocore/cache/P_CacheDir.h
----------------------------------------------------------------------
diff --git a/iocore/cache/P_CacheDir.h b/iocore/cache/P_CacheDir.h
index ba3c325..a7e7e1a 100644
--- a/iocore/cache/P_CacheDir.h
+++ b/iocore/cache/P_CacheDir.h
@@ -50,7 +50,6 @@ struct CacheVC;
 #define DIR_SIZE_WITH_BLOCK(_i)         ((1<<DIR_SIZE_WIDTH) * DIR_BLOCK_SIZE(_i))
 #define DIR_OFFSET_BITS                 40
 #define DIR_OFFSET_MAX                  ((((off_t)1) << DIR_OFFSET_BITS) - 1)
-#define MAX_DOC_SIZE                    ((1<<DIR_SIZE_WIDTH)*(1<<B8K_SHIFT)) // 1MB
 
 #define SYNC_MAX_WRITE                  (2 * 1024 * 1024)
 #define SYNC_DELAY                      HRTIME_MSECONDS(500)