Commit b30308f3 authored by ChanWoo Lee's avatar ChanWoo Lee Committed by Treehugger Robot
Browse files

FROMGIT: scsi: ufs: core: Fix unnecessary operation for early return



Setting bitmap_len is not required when returning early. Defer until it is
needed.

Change-Id: I74dc52fc89427d23e96d070142c750d1f662d525
Signed-off-by: default avatarChanWoo Lee <cw9316.lee@samsung.com>
Link: https://lore.kernel.org/r/20221111062301.7423-1-cw9316.lee@samsung.com


Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit 222d227f git://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git

 for-next)
Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
parent 974aa272
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment