aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/scsi_tcq.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/scsi/scsi_tcq.h b/include/scsi/scsi_tcq.h
index 59578beac053..681e010c2c48 100644
--- a/include/scsi/scsi_tcq.h
+++ b/include/scsi/scsi_tcq.h
@@ -15,19 +15,6 @@
15 15
16 16
17#ifdef CONFIG_BLOCK 17#ifdef CONFIG_BLOCK
18/**
19 * scsi_get_tag_type - get the type of tag the device supports
20 * @sdev: the scsi device
21 */
22static inline int scsi_get_tag_type(struct scsi_device *sdev)
23{
24 if (!sdev->tagged_supported)
25 return 0;
26 if (sdev->simple_tags)
27 return MSG_SIMPLE_TAG;
28 return 0;
29}
30
31static inline void scsi_set_tag_type(struct scsi_device *sdev, int tag) 18static inline void scsi_set_tag_type(struct scsi_device *sdev, int tag)
32{ 19{
33 switch (tag) { 20 switch (tag) {