]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: ufs-qcom: Remove unneeded code
authorChanWoo Lee <cw9316.lee@samsung.com>
Mon, 27 Jun 2022 23:55:45 +0000 (08:55 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 28 Jun 2022 03:20:16 +0000 (23:20 -0400)
commitcc382a0cd5a989ac9e257e89a5a6ff63f9fcb73f
tree3f6b0defefc6a83df9278f1394ae402f50fbfde8
parent58dedaae52df532b37a7af2a8a3ce242d9701408
scsi: ufs: ufs-qcom: Remove unneeded code

Checks information about tx_lanes, but is not used.

Since commit 8a47c02a5c4b ("scsi/ufs: qcom: Remove ufs_qcom_phy_*() calls
from host"), tx_lanes is deprecated.

As a result, ufs_qcom_link_startup_notify -> POST_CHANGE action does
nothing.  If it is not going to be updated, it can be removed.

Link: https://lore.kernel.org/r/20220627235545.16943-1-cw9316.lee@samsung.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: ChanWoo Lee <cw9316.lee@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/host/ufs-qcom.c