diff options
author | Bean Huo <beanhuo@micron.com> | 2020-11-25 19:53:00 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-11-30 23:44:29 -0500 |
commit | 939785d35def8d10e8ad312b252dbbecc8d41ca1 (patch) | |
tree | 2bbc8d706526867612dd65388db8ab5111a35839 /drivers/scsi/isci/scu_completion_codes.h | |
parent | 623a4b6d5c2a7595f677fa17348dbca6b461f16a (diff) |
scsi: ufs: Remove unnecessary if condition in ufshcd_suspend()
In the case that auto_bkops_enable is false, which means auto bkops has
been disabled, there is no need to call ufshcd_disable_auto_bkops().
Link: https://lore.kernel.org/r/20201125185300.3394-1-huobean@gmail.com
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Reviewed-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/isci/scu_completion_codes.h')
0 files changed, 0 insertions, 0 deletions