]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/OSDMap: kill dead structure "struct qi"
authorxie xingguo <xie.xingguo@zte.com.cn>
Tue, 11 Jul 2017 11:08:48 +0000 (19:08 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Sat, 15 Jul 2017 06:23:43 +0000 (14:23 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/OSDMap.cc

index 42d896b68ae0dab887836b708e9e3d92c836814b..19db82af0d30b11e8c45203c6fd9fd7d142248a4 100644 (file)
@@ -2950,14 +2950,6 @@ string OSDMap::get_flag_string() const
   return get_flag_string(flags);
 }
 
-struct qi {
-  int item;
-  int depth;
-  float weight;
-  qi() : item(0), depth(0), weight(0) {}
-  qi(int i, int d, float w) : item(i), depth(d), weight(w) {}
-};
-
 void OSDMap::print_pools(ostream& out) const
 {
   for (const auto &pool : pools) {