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:ChanWoo Lee <cw9316.lee@samsung.com> Link: https://lore.kernel.org/r/20221111062301.7423-1-cw9316.lee@samsung.com Signed-off-by:
Martin 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:
Bart Van Assche <bvanassche@google.com>
Loading
Please sign in to comment