aboutsummaryrefslogtreecommitdiff
path: root/drivers/target/target_core_iblock.h
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2011-07-05 15:35:02 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2011-07-22 09:37:46 +0000
commit21bca31c9678edda8eb1dc823be00d190965c53b (patch)
treebef78367227b6d71a25e7842ea9b6c419df844b1 /drivers/target/target_core_iblock.h
parent8f3d14e2b0352e41c8e64a39c95c7d9498c96e89 (diff)
target/iblock: Remove unused iblock_dev members
ibd_depth and ibd_force are used write-only. Remove them. ibd_major/minor can be easily retrieved from ibd_bd, so get rid of them too. Signed-off-by: Roland Dreier <roland@purestorage.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_iblock.h')
-rw-r--r--drivers/target/target_core_iblock.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/target/target_core_iblock.h b/drivers/target/target_core_iblock.h
index a69b7c28de9..2aa1d27a49b 100644
--- a/drivers/target/target_core_iblock.h
+++ b/drivers/target/target_core_iblock.h
@@ -16,14 +16,9 @@ struct iblock_req {
} ____cacheline_aligned;
#define IBDF_HAS_UDEV_PATH 0x01
-#define IBDF_HAS_FORCE 0x02
struct iblock_dev {
unsigned char ibd_udev_path[SE_UDEV_PATH_LEN];
- 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;