summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDaniel Verkamp <dverkamp@chromium.org>2019-01-08 15:58:47 -0800
committerchrome-bot <chrome-bot@chromium.org>2019-01-09 06:26:06 -0800
commit4896cb2a0820ea027ebb63fca61433d953374fd7 (patch)
treec610502dea8312544c012f66f92b5ce3a0a67d4f /src
parentbd1a0843bcf442068386c4eb3ab50b79c0fd13ab (diff)
downloadcrosvm-4896cb2a0820ea027ebb63fca61433d953374fd7.tar
crosvm-4896cb2a0820ea027ebb63fca61433d953374fd7.tar.gz
crosvm-4896cb2a0820ea027ebb63fca61433d953374fd7.tar.bz2
crosvm-4896cb2a0820ea027ebb63fca61433d953374fd7.tar.lz
crosvm-4896cb2a0820ea027ebb63fca61433d953374fd7.tar.xz
crosvm-4896cb2a0820ea027ebb63fca61433d953374fd7.tar.zst
crosvm-4896cb2a0820ea027ebb63fca61433d953374fd7.zip
plugin: remove unused EDEADLK import
Fixes a compiler warning when building with plugin enabled.

BUG=None
TEST='cargo build --features=plugin'

Change-Id: Icbd731b249089d271caca17e192b7a539ba7219c
Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1401124
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/plugin/vcpu.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugin/vcpu.rs b/src/plugin/vcpu.rs
index 72e93b8..70cf914 100644
--- a/src/plugin/vcpu.rs
+++ b/src/plugin/vcpu.rs
@@ -10,7 +10,7 @@ use std::mem::size_of;
 use std::os::unix::net::UnixDatagram;
 use std::sync::{Arc, RwLock};
 
-use libc::{EDEADLK, EINVAL, ENOENT, ENOTTY, EPERM, EPIPE, EPROTO};
+use libc::{EINVAL, ENOENT, ENOTTY, EPERM, EPIPE, EPROTO};
 
 use protobuf;
 use protobuf::Message;