From 1fbc628e7a488a2b686c743fd727b004fedb059c Mon Sep 17 00:00:00 2001 From: Shuhei Matsumoto Date: Mon, 13 Apr 2020 16:17:24 +0900 Subject: [PATCH] lib/scsi: Delete unused struct spdk_lun_db_entry Signed-off-by: Shuhei Matsumoto Change-Id: I95f1b7445e55efe2aec5ab819eaef1d3e25b2507 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1821 Tested-by: SPDK CI Jenkins Reviewed-by: Changpeng Liu Reviewed-by: Jim Harris Reviewed-by: Paul Luse --- lib/scsi/scsi_internal.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/scsi/scsi_internal.h b/lib/scsi/scsi_internal.h index e8d31e46c..f62d91890 100644 --- a/lib/scsi/scsi_internal.h +++ b/lib/scsi/scsi_internal.h @@ -164,13 +164,6 @@ struct spdk_scsi_lun { struct spdk_poller *reset_poller; }; -struct spdk_lun_db_entry { - struct spdk_scsi_lun *lun; - struct spdk_lun_db_entry *next; -}; - -extern struct spdk_lun_db_entry *spdk_scsi_lun_list_head; - struct spdk_scsi_lun *spdk_scsi_lun_construct(struct spdk_bdev *bdev, void (*hotremove_cb)(const struct spdk_scsi_lun *, void *), void *hotremove_ctx);