summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ipr.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-11-24 15:36:20 +0100
committerChristoph Hellwig <hch@lst.de>2014-12-04 09:55:46 +0100
commit17ea01267c75c5a2e00f3603037715d0d2ce4a58 (patch)
treeac78360f95ee125cd1ee6f0238e2473f948c6377 /drivers/scsi/ipr.c
parentb70870c38ede2bb5b0a738f2f69de145a1931a00 (diff)
downloadop-kernel-dev-17ea01267c75c5a2e00f3603037715d0d2ce4a58.zip
op-kernel-dev-17ea01267c75c5a2e00f3603037715d0d2ce4a58.tar.gz
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 'drivers/scsi/ipr.c')
-rw-r--r--drivers/scsi/ipr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index c35ef5f..c91c7c5 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -5755,7 +5755,7 @@ static void ipr_erp_cancel_all(struct ipr_cmnd *ipr_cmd)
ipr_reinit_ipr_cmnd_for_erp(ipr_cmd);
- if (!scsi_get_tag_type(scsi_cmd->device)) {
+ if (!scsi_cmd->device->simple_tags) {
ipr_erp_request_sense(ipr_cmd);
return;
}
OpenPOWER on IntegriCloud