]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: cxlflash: Remove unnecessary existence check
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>
Fri, 25 Aug 2017 22:17:53 +0000 (17:17 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 22:23:06 +0000 (18:23 -0400)
commiteaff00af904debc5c620910244175769dd7edc77
treea5846741f4d627d5e5b8a25dd5ad80bdc5bd1b15
parent5723785f39410cb072900c0e91140a8b521b1235
scsi: cxlflash: Remove unnecessary existence check

The AFU termination sequence has been refactored over time such that the
main tear down routine, term_afu(), can no longer can be invoked with a
NULL AFU pointer. Remove the unnecessary existence check from
term_afu().

Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/cxlflash/main.c