]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: ufs: core: Move code out of an if-statement
authorBart Van Assche <bvanassche@acm.org>
Wed, 16 Oct 2024 20:12:07 +0000 (13:12 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Oct 2024 19:30:22 +0000 (15:30 -0400)
commitb92e5937e3523b0b7d41373681256bec78d7e134
treeeb47f52821488c1949aceaf572383d8e99821afd
parent72e979225ed2e9427396e317d33050bcf50ad899
scsi: ufs: core: Move code out of an if-statement

The previous patch in this series introduced identical code in both
branches of an if-statement. Move that code outside the if-statement.

Reviewed-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241016201249.2256266-12-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c