diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-06-09 12:26:02 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-06-09 23:01:24 -0400 |
| commit | d46bdecd9f3cdf6c5e1beb5975b5dbf098c1a9f7 (patch) | |
| tree | 98f26358eddd59ec20b221614c83d4e4a2ad321b /lib/mpi/mpiutil.c | |
| parent | d3d61f9c8c2dbe7e5e6736219afdf9965a7d241a (diff) | |
scsi: mpi3mr: Delete unnecessary NULL check
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.
Link: https://lore.kernel.org/r/YMCJKgykDYtyvY44@mwanda
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
