Commit e550cecb authored by Jim Harris's avatar Jim Harris Committed by Changpeng Liu
Browse files

test/scsi: remove spdk_poller struct mock from lun unit tests



This isn't needed, and it actually results in warnings
when linking with LTO enabled.

Signed-off-by: default avatarJim Harris <james.r.harris@intel.com>
Change-Id: I4e7dcd5d3f738fb3e53e35a1fff154a0e1ab06d3

Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456238


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
parent 66514a00
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -49,11 +49,6 @@ struct spdk_bdev {
	int x;
};

/* Unit test poller mockup */
struct spdk_poller {
	int y;
};

SPDK_LOG_REGISTER_COMPONENT("scsi", SPDK_LOG_SCSI)

struct spdk_scsi_globals g_spdk_scsi;