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

Commit 804c4a3b authored by Ram Prakash Gupta's avatar Ram Prakash Gupta
Browse files

scsi: ufs: Remove duplicate code



Remove duplicate code from ufs driver.

Change-Id: I2db52681c74957cd7f1247d2f6a0e37e0bf2dcc0
Signed-off-by: default avatarRam Prakash Gupta <rampraka@codeaurora.org>
parent 9fdd8ec8
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);