summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic94xx/aic94xx_reg.h
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2023-08-22 08:48:17 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2023-08-25 04:06:44 +0200
commit73c7881b50667f4f8322c6e1bb51624f0f4085a8 (patch)
tree9cb2438e7d5d28a7c94bdd39697aa98aca2bb80d /drivers/scsi/aic94xx/aic94xx_reg.h
parentMerge patch series "libsas: Some tidy-up" (diff)
downloadlinux-73c7881b50667f4f8322c6e1bb51624f0f4085a8.tar.xz
linux-73c7881b50667f4f8322c6e1bb51624f0f4085a8.zip
scsi: xen-scsifront: shost_priv() can never return NULL
There is no need to check whether shost_priv() returns a non-NULL value, as the pointer returned is just an offset to the passed in parameter. While at it replace an open coded shost_priv() instance. Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Juergen Gross <jgross@suse.com> Link: https://lore.kernel.org/r/20230822064817.27257-1-jgross@suse.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aic94xx/aic94xx_reg.h')
0 files changed, 0 insertions, 0 deletions