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

Commit a99224a0 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs: Remove duplicate code"

parents a26a1805 804c4a3b
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -6163,9 +6163,6 @@ static int ufshcd_slave_alloc(struct scsi_device *sdev)
	/* WRITE_SAME command is not supported*/
	/* WRITE_SAME command is not supported*/
	sdev->no_write_same = 1;
	sdev->no_write_same = 1;


	/* WRITE_SAME command is not supported */
	sdev->no_write_same = 1;

	ufshcd_set_queue_depth(sdev);
	ufshcd_set_queue_depth(sdev);


	ufshcd_get_lu_power_on_wp_status(hba, sdev);
	ufshcd_get_lu_power_on_wp_status(hba, sdev);