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)
commit7b6668d8b806b013cfe084aeb72c7eebb578cb50
tree2588d433729a00389ad7cdd14fb0a92b9c9c8b4e
parentbe32acff43800c87dc5c707f5d47cc607b76b653
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