include: remove util.h include from queue_extras.h

This include isn't needed in queue_extras.h itself.
There were a few places that were implicitly
depending on this include, so fix those to include
util.h explicitly.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ia962ae5a4403ee8ae15f3106d0d5e7d7412a4535
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7172
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: <dongx.yi@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
Jim Harris 2021-03-31 21:50:14 +00:00 committed by Tomasz Zawadzki
parent 558be98fd3
commit df902b1d2e
7 changed files with 6 additions and 2 deletions

View File

@ -37,6 +37,7 @@
#include "spdk/event.h"
#include "spdk/fd.h"
#include "spdk/string.h"
#include "spdk/util.h"
#include "spdk/vmd.h"
#include <libaio.h>

View File

@ -105,8 +105,6 @@
*
*/
#include "spdk/util.h"
/*
* Singly-linked Tail queue declarations.
*/

View File

@ -40,6 +40,7 @@
#include "spdk_internal/rdma.h"
#include "spdk/log.h"
#include "spdk/util.h"
struct spdk_rdma_mlx5_dv_qp {
struct spdk_rdma_qp common;

View File

@ -39,6 +39,7 @@
#include "spdk/log.h"
#include "spdk/env.h"
#include "spdk/queue.h"
#include "spdk/util.h"
#include "spdk/vfio_user_pci.h"
#include "vfio_user_internal.h"

View File

@ -38,6 +38,7 @@
#include "vhost_user.h"
#include "spdk/string.h"
#include "spdk/config.h"
#include "spdk/util.h"
#include "spdk_internal/virtio.h"

View File

@ -41,6 +41,7 @@
#include "spdk/rpc.h"
#include "spdk/string.h"
#include "spdk/thread.h"
#include "spdk/util.h"
static bool g_is_running = true;
pthread_mutex_t g_sched_list_mutex = PTHREAD_MUTEX_INITIALIZER;

View File

@ -36,6 +36,7 @@
#include "spdk/likely.h"
#include "spdk/log.h"
#include "spdk/stdinc.h"
#include "spdk/util.h"
#include "nvme.h"
typedef void (*nvme_cmd_cb)(void *ctx, const struct spdk_nvme_cpl *cpl);