Remove poll.rs

Since we're using now mio, we can remove our own poll interface.

Signed-off-by: Richard Weinberger <richard@nod.at>
diff --git a/src/main.rs b/src/main.rs
index e47a3af..2e85d68 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -8,7 +8,6 @@
 mod player;
 mod playerbackend;
 mod playprogram;
-mod poll;
 mod vlc;
 
 use crate::player::Player;
diff --git a/src/poll.rs b/src/poll.rs
deleted file mode 100644
index 301b1ed..0000000
--- a/src/poll.rs
+++ /dev/null
@@ -1,28 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- *  Copyright (C) 2021, Richard Weinberger <richard@nod.at>
- */
-
-use std::io;
-use std::os::unix::io::RawFd;
-
-pub fn single_poll(fd: RawFd, events: i16) -> io::Result<i16> {
-	let mut pfd = libc::pollfd {
-		fd: fd,
-		events: events,
-		revents: 0,
-	};
-
-	let pret;
-	unsafe {
-		pret = libc::poll(&mut pfd, 1 as u64, -1);
-	};
-
-	if pret < 0 {
-		Err(io::Error::from_raw_os_error(-pret))
-	} else if pret == 0 {
-		Ok(0)
-	} else {
-		Ok(pfd.revents)
-	}
-}