mirror of https://gerrit.osmocom.org/libosmocore
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:
parent
74a8f0831d
commit
9c0751fc60
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue