summaryrefslogtreecommitdiff
path: root/drivers/scsi/sd.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-09-11 20:35:39 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2016-09-15 16:41:09 +0300
commit6ebf105cc047f3877ac530cd19d13b3e788ab02e (patch)
treef46faa0690c84d0016f0f5309954c4f887c167e0 /drivers/scsi/sd.h
parentc08b3f9a27006c5c541b5c0fa273444a93617fda (diff)
downloadlinux-6ebf105cc047f3877ac530cd19d13b3e788ab02e.tar.xz
scsi: scsi_debug: Use struct t10_pi_tuple instead of struct sd_dif_tuple
And remove the declaration of the latter in sd.h as scsi_debug was the only user. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/sd.h')
-rw-r--r--drivers/scsi/sd.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/scsi/sd.h b/drivers/scsi/sd.h
index 765a6f1ac1b7..d00966d6b41e 100644
--- a/drivers/scsi/sd.h
+++ b/drivers/scsi/sd.h
@@ -239,15 +239,6 @@ static inline unsigned int sd_prot_flag_mask(unsigned int prot_op)
return flag_mask[prot_op];
}
-/*
- * Data Integrity Field tuple.
- */
-struct sd_dif_tuple {
- __be16 guard_tag; /* Checksum */
- __be16 app_tag; /* Opaque storage */
- __be32 ref_tag; /* Target LBA or indirect LBA */
-};
-
#ifdef CONFIG_BLK_DEV_INTEGRITY
extern void sd_dif_config_host(struct scsi_disk *);