aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-22 02:41:46 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-28 10:48:46 +0000
commit9c0751fc60e6282b5f5ff791d53f6f862f1c9c79 (patch)
tree72a71dfc8fd4bd44032a8149c72f487aabb12347
parent74a8f0831dbcbe40694d19dcf173185593f91be2 (diff)
osmo_select_main(): drop useless call to osmo_timers_check()3G_2016_09
osmo_timers_check() does nothing more than counting the active timers. It is of no use to count them when not using the return value in any way. Change-Id: I8d35ca90a4c16d6f1c7f9793d663e5479783efed
-rw-r--r--src/select.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/select.c b/src/select.c
index 192cae2..da27368 100644
--- a/src/select.c
+++ b/src/select.c
@@ -176,8 +176,6 @@ int osmo_select_main(int polling)
/* prepare read and write fdsets */
osmo_fd_fill_fds(&readset, &writeset, &exceptset);
- osmo_timers_check();
-
if (!polling)
osmo_timers_prepare();
rc = select(maxfd+1, &readset, &writeset, &exceptset, polling ? &no_time : osmo_timers_nearest());