Messages in this thread | | | Subject | Re: [PATCH] scsi: qedf: Drop unnecessary NULL checks after container_of | From | "Martin K. Petersen" <> | Date | Fri, 14 May 2021 22:42:23 -0400 |
| |
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
| |