Messages in this thread | | | From | "Martin K. Petersen" <> | Subject | Re: [PATCH 1/2] scsi: mpi3mr: delete unnecessary NULL check | Date | Tue, 15 Jun 2021 23:48:52 -0400 |
| |
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
| |