aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_iblock.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-12-21 14:20:10 -0500
committerNicholas Bellinger <nab@linux-iscsi.org>2012-02-25 14:37:46 -0800
commit6e315a066d7d1917f762d2f2a14e9a71a8656fea (patch)
treecfc7f4f79f68a26356fea3f0307104dbefbbd450 /drivers/target/target_core_iblock.h
parent3d26fea01d5f80e3e585d69d8d73a60e1ca563a0 (diff)
target: remove the unused struct iblock_hba
There is no reason to allocate a struct just to store the host number for a debug printk in the detach path. I've simply removed the verbose debugging given that the calling code thinks the number passed in is something different from a host ID anyway. Signed-off-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 5cf1860c10d0..300610417447 100644
--- a/drivers/target/target_core_iblock.h
+++ b/drivers/target/target_core_iblock.h
@@ -19,11 +19,6 @@ struct iblock_dev {
u32 ibd_flags;
struct bio_set *ibd_bio_set;
struct block_device *ibd_bd;
- struct iblock_hba *ibd_host;
-} ____cacheline_aligned;
-
-struct iblock_hba {
- int iblock_host_id;
} ____cacheline_aligned;
#endif /* TARGET_CORE_IBLOCK_H */

Privacy Policy