Re: [PATCH 1/2] scsi: mpi3mr: delete unnecessary NULL check

From: Martin K. Petersen
Date: Tue Jun 15 2021 - 23:49:38 EST


On Wed, 9 Jun 2021 12:26:02 +0300, Dan Carpenter wrote:

> The "mrioc->intr_info" pointer can't be NULL, but if it could then the
> second iteration through the loop would Oops. Let's delete the
> confusing and impossible NULL check.

Applied to 5.14/scsi-queue, thanks!

[1/2] scsi: mpi3mr: delete unnecessary NULL check
https://git.kernel.org/mkp/scsi/c/d46bdecd9f3c
[2/2] scsi: mpi3mr: Fix error handling in mpi3mr_setup_isr()
https://git.kernel.org/mkp/scsi/c/2938bedd0efa

--
Martin K. Petersen Oracle Linux Engineering