]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/PGMap: drop unused PGMap::update_global_delta() 18647/head
authorKefu Chai <kchai@redhat.com>
Tue, 31 Oct 2017 10:43:28 +0000 (18:43 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 31 Oct 2017 10:45:13 +0000 (18:45 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mon/PGMap.cc
src/mon/PGMap.h

index 1fbce57c211c69afdae666713a1f3898abcecbd2..cd4f956016c13e7c2c1f0892e7788beab69f7170 100644 (file)
@@ -1912,20 +1912,6 @@ void PGMap::update_delta(
   }
 }
 
-/**
- * update aggregated delta
- *
- * @param cct            ceph context
- * @param ts             Timestamp
- * @param pg_sum_old     Old pg_sum
- */
-void PGMap::update_global_delta(CephContext *cct,
-                                const utime_t ts, const pool_stat_t& pg_sum_old)
-{
-  update_delta(cct, ts, pg_sum_old, &stamp, pg_sum, &pg_sum_delta,
-               &stamp_delta, &pg_sum_deltas);
-}
-
 /**
  * Update a given pool's deltas
  *
index cfe7b3ab08be901a3d08634c7c1347b91eb5ea3f..b7532b9ebe7d56d0ca5c209f00f1be8aaea87ec9 100644 (file)
@@ -280,9 +280,6 @@ public:
 
   utime_t stamp;
 
-  void update_global_delta(
-    CephContext *cct,
-    const utime_t ts, const pool_stat_t& pg_sum_old);
   void update_pool_deltas(
     CephContext *cct,
     const utime_t ts,