diff options
Diffstat (limited to 'src/osd/scrubber/scrub_job.cc')
-rw-r--r-- | src/osd/scrubber/scrub_job.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/osd/scrubber/scrub_job.cc b/src/osd/scrubber/scrub_job.cc index 9e0d03b6ea4..a02ebe8fd44 100644 --- a/src/osd/scrubber/scrub_job.cc +++ b/src/osd/scrubber/scrub_job.cc @@ -14,17 +14,6 @@ using ScrubJob = Scrub::ScrubJob; using delay_ready_t = Scrub::delay_ready_t; using namespace std::chrono; -namespace { -utime_t add_double(utime_t t, double d) -{ - double int_part; - double frac_as_ns = 1'000'000'000 * std::modf(d, &int_part); - return utime_t{ - t.sec() + static_cast<int>(int_part), - static_cast<int>(t.nsec() + frac_as_ns)}; -} -} // namespace - using SchedEntry = Scrub::SchedEntry; // ////////////////////////////////////////////////////////////////////////// // |