Commit 14d4ef26 authored by Bart Van Assche's avatar Bart Van Assche Committed by Matthias Männich
Browse files

FROMGIT: scsi: ufs: Simplify ufshcd_comp_scsi_upiu()



ufshcd_comp_scsi_upiu() has one caller and that caller ensures that
lrbp->cmd != NULL. Hence leave out the lrbp->cmd check from
ufshcd_comp_scsi_upiu().

Bug: 306057264
Change-Id: Ic37b0eda0d59c0b7d759a5d352f139cdcffbf163
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
(cherry picked from commit c788cf8a 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 ffcd3fe2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment