diff options
Diffstat (limited to 'drivers/scsi/sd.h')
-rw-r--r-- | drivers/scsi/sd.h | 4 |
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 | ||
104 | extern void sd_dif_op(struct scsi_cmnd *, unsigned int, unsigned int, unsigned int); | ||
105 | extern void sd_dif_config_host(struct scsi_disk *); | 104 | extern void sd_dif_config_host(struct scsi_disk *); |
106 | extern int sd_dif_prepare(struct request *rq, sector_t, unsigned int); | 105 | extern int sd_dif_prepare(struct request *rq, sector_t, unsigned int); |
107 | extern void sd_dif_complete(struct scsi_cmnd *, unsigned int); | 106 | extern 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 | ||
111 | static inline void sd_dif_op(struct scsi_cmnd *cmd, unsigned int a, unsigned int b, unsigned int c) | ||
112 | { | ||
113 | } | ||
114 | static inline void sd_dif_config_host(struct scsi_disk *disk) | 110 | static inline void sd_dif_config_host(struct scsi_disk *disk) |
115 | { | 111 | { |
116 | } | 112 | } |