]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
msg: kill unused macros
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 18 Aug 2016 09:26:03 +0000 (17:26 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Mon, 22 Aug 2016 01:51:48 +0000 (09:51 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/include/msgr.h
src/msg/Message.h

index ac98344a2cdd99e6b2ab9fb4735ba83cf764354c..4d90d4c7ee23388aa4134c1a50d821d8558da23c 100644 (file)
@@ -24,8 +24,6 @@
  * constant.
  */
 #define CEPH_BANNER "ceph v027"
-#define CEPH_BANNER_MAX_LEN 30
-
 
 /*
  * Rollover-safe type and comparator for 32-bit sequence numbers.
index ee401f8c2286a0b3e40d2704b2d40504d40b0bb6..bc64b891bf66cff2e7c96678b302e5aeb8475ff1 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <boost/intrusive_ptr.hpp>
 #include <boost/intrusive/list.hpp>
-// Because intusive_ptr clobbers our assert...
+// Because intrusive_ptr clobbers our assert...
 #include "include/assert.h"
 
 #include "include/types.h"
 #define MSG_MON_COMMAND_ACK        51
 #define MSG_LOG                    52
 #define MSG_LOGACK                 53
-//#define MSG_MON_OBSERVE            54
-//#define MSG_MON_OBSERVE_NOTIFY     55
-#define MSG_CLASS                  56
-#define MSG_CLASS_ACK              57
 
 #define MSG_GETPOOLSTATS           58
 #define MSG_GETPOOLSTATSREPLY      59
 
 #define MSG_MON_GLOBAL_ID          60
 
-// #define MSG_POOLOP                 49
-// #define MSG_POOLOPREPLY            48
-
 #define MSG_ROUTE                  47
 #define MSG_FORWARD                46
 
@@ -80,7 +73,6 @@
 
 #define MSG_OSD_PG_NOTIFY      80
 #define MSG_OSD_PG_QUERY       81
-#define MSG_OSD_PG_SUMMARY     82
 #define MSG_OSD_PG_LOG         83
 #define MSG_OSD_PG_REMOVE      84
 #define MSG_OSD_PG_INFO        85