ufs: remove spurious scsi_set_tag_type call
authorChristoph Hellwig <hch@lst.de>
Mon, 3 Nov 2014 19:43:28 +0000 (20:43 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 12 Nov 2014 10:19:44 +0000 (11:19 +0100)
ufs never looks at the tag type, so there is no need to set it either.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Reviewed-by: Hannes Reinecke <hare@suse.de>
drivers/scsi/ufs/ufshcd.c

index 67e2280..362b818 100644 (file)
@@ -2768,7 +2768,6 @@ static int ufshcd_slave_alloc(struct scsi_device *sdev)
 
        /* Mode sense(6) is not supported by UFS, so use Mode sense(10) */
        sdev->use_10_for_ms = 1;
-       scsi_set_tag_type(sdev, MSG_SIMPLE_TAG);
 
        /* allow SCSI layer to restart the device in case of errors */
        sdev->allow_restart = 1;