From 865646802078373765b8cc553ca7205e3f71120d Mon Sep 17 00:00:00 2001 From: Shuhei Matsumoto Date: Fri, 29 May 2020 09:55:17 +0900 Subject: [PATCH] lib/vhost: Remove inclusion of SPDK event library Remove inclusion of spdk/event.h from SPDK vhost library. Dependency of SPDK event library had been removed from SPDK vhost library. Signed-off-by: Shuhei Matsumoto Change-Id: I5853dee6e8225834f030db9a3317be47c1355a27 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2684 Tested-by: SPDK CI Jenkins Community-CI: Mellanox Build Bot Reviewed-by: Aleksey Marchuk Reviewed-by: Tomasz Zawadzki Reviewed-by: Jim Harris --- include/spdk/vhost.h | 3 ++- lib/vhost/vhost_scsi.c | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/spdk/vhost.h b/include/spdk/vhost.h index bc7cfc1525..0bea83b015 100644 --- a/include/spdk/vhost.h +++ b/include/spdk/vhost.h @@ -41,8 +41,9 @@ #include "spdk/stdinc.h" -#include "spdk/event.h" +#include "spdk/cpuset.h" #include "spdk/json.h" +#include "spdk/thread.h" #ifdef __cplusplus extern "C" { diff --git a/lib/vhost/vhost_scsi.c b/lib/vhost/vhost_scsi.c index b3a9eec05c..e7634926eb 100644 --- a/lib/vhost/vhost_scsi.c +++ b/lib/vhost/vhost_scsi.c @@ -40,7 +40,6 @@ #include "spdk/scsi.h" #include "spdk/scsi_spec.h" #include "spdk/conf.h" -#include "spdk/event.h" #include "spdk/util.h" #include "spdk/likely.h"