osmo_select_main(): drop useless call to osmo_timers_check()

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
This commit is contained in:
Neels Hofmeyr 2016-09-22 02:41:46 +02:00
parent 74a8f0831d
commit 9c0751fc60
1 changed files with 0 additions and 2 deletions

View File

@ -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());