]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: Remove redundant urgent_bkop_lvl initialization
authorStanley Chu <stanley.chu@mediatek.com>
Sat, 30 May 2020 14:12:00 +0000 (22:12 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 3 Jun 2020 01:44:53 +0000 (21:44 -0400)
commitcef172fd1bf3a4d17913bfed91f6d18d899c370f
tree2588d433729a00389ad7cdd14fb0a92b9c9c8b4e
parent365b46286a5395f5d3a4f7322ec8c1dccdb71418
scsi: ufs: Remove redundant urgent_bkop_lvl initialization

In ufshcd_probe_hba(), all BKOP SW tracking variables can be reset together
in ufshcd_force_reset_auto_bkops(), thus urgent_bkop_lvl initialization in
the beginning of ufshcd_probe_hba() can be merged into
ufshcd_force_reset_auto_bkops().

Link: https://lore.kernel.org/r/20200530141200.4616-1-stanley.chu@mediatek.com
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c