Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7cb71ec authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

ufs: remove spurious scsi_set_tag_type call



ufs never looks at the tag type, so there is no need to set it either.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarMike Christie <michaelc@cs.wisc.edu>
Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
parent ee11560f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;