From: Roland Dreier <roland@xxxxxxxxxxxxxxx> Get rid of ibd_depth, since it is used write-only. Signed-off-by: Roland Dreier <roland@xxxxxxxxxxxxxxx> --- drivers/target/target_core_iblock.c | 2 -- drivers/target/target_core_iblock.h | 1 - 2 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/target/target_core_iblock.c b/drivers/target/target_core_iblock.c index d43fc91..a65416a 100644 --- a/drivers/target/target_core_iblock.c +++ b/drivers/target/target_core_iblock.c @@ -177,8 +177,6 @@ static struct se_device *iblock_create_virtdevice( if (!(dev)) goto failed; - ib_dev->ibd_depth = dev->queue_depth; - /* * Check if the underlying struct block_device request_queue supports * the QUEUE_FLAG_DISCARD bit for UNMAP/WRITE_SAME in SCSI + TRIM diff --git a/drivers/target/target_core_iblock.h b/drivers/target/target_core_iblock.h index a69b7c2..fd40fe2 100644 --- a/drivers/target/target_core_iblock.h +++ b/drivers/target/target_core_iblock.h @@ -23,7 +23,6 @@ struct iblock_dev { int ibd_force; int ibd_major; int ibd_minor; - u32 ibd_depth; u32 ibd_flags; struct bio_set *ibd_bio_set; struct block_device *ibd_bd; -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html