aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/sd.h')
-rw-r--r--drivers/scsi/sd.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/sd.h b/drivers/scsi/sd.h
index 8474b5bad3fe..ce1f5f899fe3 100644
--- a/drivers/scsi/sd.h
+++ b/drivers/scsi/sd.h
@@ -101,16 +101,12 @@ struct sd_dif_tuple {
101 101
102#ifdef CONFIG_BLK_DEV_INTEGRITY 102#ifdef CONFIG_BLK_DEV_INTEGRITY
103 103
104extern void sd_dif_op(struct scsi_cmnd *, unsigned int, unsigned int, unsigned int);
105extern void sd_dif_config_host(struct scsi_disk *); 104extern void sd_dif_config_host(struct scsi_disk *);
106extern int sd_dif_prepare(struct request *rq, sector_t, unsigned int); 105extern int sd_dif_prepare(struct request *rq, sector_t, unsigned int);
107extern void sd_dif_complete(struct scsi_cmnd *, unsigned int); 106extern void sd_dif_complete(struct scsi_cmnd *, unsigned int);
108 107
109#else /* CONFIG_BLK_DEV_INTEGRITY */ 108#else /* CONFIG_BLK_DEV_INTEGRITY */
110 109
111static inline void sd_dif_op(struct scsi_cmnd *cmd, unsigned int a, unsigned int b, unsigned int c)
112{
113}
114static inline void sd_dif_config_host(struct scsi_disk *disk) 110static inline void sd_dif_config_host(struct scsi_disk *disk)
115{ 111{
116} 112}