From b01df7407ef43d802be67bd87f696cd6c9aee465 Mon Sep 17 00:00:00 2001 From: Wei Jin Date: Sun, 29 May 2016 17:36:03 +0800 Subject: [PATCH] mon: remove nonused data structure Signed-off-by: Wei Jin --- src/mon/Monitor.h | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/src/mon/Monitor.h b/src/mon/Monitor.h index 1f6be858d0dc..8c2d78f7522d 100644 --- a/src/mon/Monitor.h +++ b/src/mon/Monitor.h @@ -538,30 +538,7 @@ private: *abs = abs_skew; return (abs_skew > g_conf->mon_clock_drift_allowed); } - /** - * @} - */ - /** - * @defgroup Monitor_h_stats Keep track of monitor statistics - * @{ - */ - struct MonStatsEntry { - // data dir - uint64_t kb_total; - uint64_t kb_used; - uint64_t kb_avail; - unsigned int latest_avail_ratio; - utime_t last_update; - }; - - struct MonStats { - MonStatsEntry ours; - map others; - }; - - MonStats stats; - void stats_update(); /** * @} */ -- 2.47.3