summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fnic
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2020-01-22 19:56:36 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2020-02-28 21:05:06 -0500
commit5905d4648e7ec2cc9316b17290f21e8bd8a78c32 (patch)
tree212ef016c62f2ed0dcdf16667376f5d066958018 /drivers/scsi/fnic
parent4d2b8d40dd754e4e6db003a817cd0fa9f3c58c65 (diff)
downloadlinux-stable-5905d4648e7ec2cc9316b17290f21e8bd8a78c32.tar.gz
linux-stable-5905d4648e7ec2cc9316b17290f21e8bd8a78c32.tar.bz2
linux-stable-5905d4648e7ec2cc9316b17290f21e8bd8a78c32.zip
scsi: ufs: Simplify two tests
lrbp->cmd is set only for SCSI commands. Use this knowledge to simplify two boolean expressions. Link: https://lore.kernel.org/r/20200123035637.21848-4-bvanassche@acm.org Cc: Alim Akhtar <alim.akhtar@samsung.com> Cc: Tomas Winkler <tomas.winkler@intel.com> Cc: Bean Huo <beanhuo@micron.com> Cc: Can Guo <cang@codeaurora.org> Reviewed-by: Stanley Chu <stanley.chu@mediatek.com> Reviewed-by: Asutosh Das <asutoshd@codeaurora.org> Reviewed-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/fnic')
0 files changed, 0 insertions, 0 deletions