Re: [PATCH] scsi: qedf: Drop unnecessary NULL checks after container_of

From: Martin K. Petersen
Date: Fri May 14 2021 - 22:42:49 EST



Guenter,

> The result of container_of() operations is never NULL unless the
> embedded element is the first element of the structure, which is not
> the case here. The NULL checks are therefore unnecessary and
> misleading. Remove them.

Applied to 5.14/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering