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: Jim Harris <james.r.harris@intel.com> Change-Id: I9aefd303ae12928d45141029436509f185105bd3 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7812 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Michal Berger <michalx.berger@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
eef5159387
commit
8a12e2e715
@ -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"
|
||||
|
@ -40,6 +40,7 @@
|
||||
#include "spdk_cunit.h"
|
||||
|
||||
#include "spdk_internal/mock.h"
|
||||
#include "spdk/bdev_module.h"
|
||||
|
||||
SPDK_LOG_REGISTER_COMPONENT(scsi)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user