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

From: Martin K. Petersen
Date: Wed Jun 09 2021 - 23:01:53 EST



Dan,

> 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 1+2 to 5.14/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering