Skip to content

Commit

Permalink
Remove super verbose debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Janrupf committed Aug 9, 2022
1 parent 732b398 commit 60d8e92
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/sys/unix/selector/poll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,13 +449,11 @@ fn poll(fds: &mut [PollFd], deadline: Option<Instant>) -> io::Result<usize> {
})
.unwrap_or(-1);

log::trace!("Polling on {:?}", fds);
let res = syscall!(poll(
fds.as_mut_ptr() as *mut libc::pollfd,
fds.len() as libc::nfds_t,
timeout_ms,
));
log::trace!("Polling finished: {:?} = {:?}", res, fds);

match res {
Ok(num_events) => break Ok(num_events as usize),
Expand Down

0 comments on commit 60d8e92

Please sign in to comment.