diff options
author | Christoph Hellwig <hch@lst.de> | 2016-09-11 19:35:39 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-09-15 15:41:09 +0200 |
commit | 6ebf105cc047f3877ac530cd19d13b3e788ab02e (patch) | |
tree | f46faa0690c84d0016f0f5309954c4f887c167e0 /drivers/scsi/sd.h | |
parent | scsi: fusion: Fix error return code in mptfc_probe() (diff) | |
download | linux-6ebf105cc047f3877ac530cd19d13b3e788ab02e.tar.xz linux-6ebf105cc047f3877ac530cd19d13b3e788ab02e.zip |
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.h | 9 |
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 *); |