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:Bart 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:
Bart Van Assche <bvanassche@google.com>
Loading
Please sign in to comment