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:
Jim Harris 2021-05-07 17:36:23 +00:00 committed by Tomasz Zawadzki
parent eef5159387
commit 8a12e2e715
2 changed files with 1 additions and 6 deletions

View File

@ -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"

View File

@ -40,6 +40,7 @@
#include "spdk_cunit.h"
#include "spdk_internal/mock.h"
#include "spdk/bdev_module.h"
SPDK_LOG_REGISTER_COMPONENT(scsi)