]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PG: remove unused function. 37096/head
authorJianpeng Ma <jianpeng.ma@intel.com>
Fri, 11 Sep 2020 03:08:17 +0000 (11:08 +0800)
committerJianpeng Ma <jianpeng.ma@intel.com>
Fri, 11 Sep 2020 03:08:17 +0000 (11:08 +0800)
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
src/osd/PG.h

index 4e15536f2d431bdd7b0fd54d741e93c08597bf6e..53eb3cb6820becd3142b178b9a5fe43714d3a705 100644 (file)
@@ -204,11 +204,6 @@ public:
     const char *state_name, utime_t enter_time,
     uint64_t events, utime_t event_dur) override;
 
-  void lock_suspend_timeout(ThreadPool::TPHandle &handle) {
-    handle.suspend_tp_timeout();
-    lock();
-    handle.reset_tp_timeout();
-  }
   void lock(bool no_lockdep = false) const;
   void unlock() const;
   bool is_locked() const;