Re: [PATCH] xen/scsifront: shost_priv() can never return NULL

From: Martin K. Petersen
Date: Thu Aug 24 2023 - 22:29:35 EST



Juergen,

> 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.

Applied to 6.6/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering