Commit 8a12e2e7 authored by Jim Harris's avatar Jim Harris Committed by Tomasz Zawadzki
Browse files

scsi: don't include bdev_module.h



The library itself doesn't need it. The unit tests
do need it, so just include it there.

Signed-off-by: default avatarJim Harris <james.r.harris@intel.com>
Change-Id: I9aefd303ae12928d45141029436509f185105bd3
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7812


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: default avatarMichal Berger <michalx.berger@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Reviewed-by: default avatarAleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
parent eef51593
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -34,12 +34,6 @@

#include "scsi_internal.h"

/*
 * TODO: move bdev SCSI error code translation tests to bdev unit test
 * and remove this include.
 */
#include "spdk/bdev_module.h"

#include "spdk/env.h"
#include "spdk/bdev.h"
#include "spdk/endian.h"
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@
#include "spdk_cunit.h"

#include "spdk_internal/mock.h"
#include "spdk/bdev_module.h"

SPDK_LOG_REGISTER_COMPONENT(scsi)