summaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-11-24 17:36:20 +0300
committerChristoph Hellwig <hch@lst.de>2014-12-04 11:55:46 +0300
commit17ea01267c75c5a2e00f3603037715d0d2ce4a58 (patch)
treeac78360f95ee125cd1ee6f0238e2473f948c6377 /include/scsi
parentb70870c38ede2bb5b0a738f2f69de145a1931a00 (diff)
downloadlinux-17ea01267c75c5a2e00f3603037715d0d2ce4a58.tar.xz
scsi: remove scsi_get_tag_type
Both remaining users are better of just checking sdev->simple_tags directly. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com Reviewed-by: Hannes Reinecke <hare@suse.de>
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 @@
#ifdef CONFIG_BLOCK
-/**
- * scsi_get_tag_type - get the type of tag the device supports
- * @sdev: the scsi device
- */
-static inline int scsi_get_tag_type(struct scsi_device *sdev)
-{
- if (!sdev->tagged_supported)
- return 0;
- if (sdev->simple_tags)
- return MSG_SIMPLE_TAG;
- return 0;
-}
-
static inline void scsi_set_tag_type(struct scsi_device *sdev, int tag)
{
switch (tag) {