diff options
author | Oliver Smith <osmith@sysmocom.de> | 2021-03-19 16:45:56 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2021-03-19 16:47:52 +0100 |
commit | a7eb735b8ddc1dfd3872756820ae752ba4728822 (patch) | |
tree | 635212d3c849cde43bfc95dd92f22de5181034b4 /src | |
parent | 2fa0e9df68ce45d5afa234ccb184b8d76560e1cc (diff) |
Revert "stats: log error when missing stats values"
This reverts commit d290439b4afe928e7e341540cb92f1abf36a82cb, which
caused "stats values skipped" messages to appear even if they were not
skipped. Revert for now, replace with a proper version in the future.
Related: SYS#4877
Change-Id: Ib43bd53188a4d31d771feb921ea14abe1a3ec877
Diffstat (limited to 'src')
-rw-r--r-- | src/stat_item.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/stat_item.c b/src/stat_item.c index a44b3ad7..ba364640 100644 --- a/src/stat_item.c +++ b/src/stat_item.c @@ -60,7 +60,6 @@ #include <osmocom/core/talloc.h> #include <osmocom/core/timer.h> #include <osmocom/core/stat_item.h> -#include <osmocom/core/logging.h> /*! global list of stat_item groups */ static LLIST_HEAD(osmo_stat_item_groups); @@ -243,10 +242,6 @@ int osmo_stat_item_get_next(const struct osmo_stat_item *item, int32_t *next_idx idx_delta = item_value->id + 1 - *next_idx; - if (idx_delta > 1) { - LOGP(DLSTATS, LOGL_ERROR, "%s: %d stats values skipped\n", item->desc->name, idx_delta - 1); - } - *next_idx = item_value->id + 1; return idx_delta; |